Jquery dialog submit validation

Posted by Gaur1982 under jQuery on 6/26/2012 | Points: 10 | Views : 2379 | Status : [Member] | Replies : 1
I need someone to put me through how I can use jquery dialog to ask "Confirm" or "Cancel" validations before submit. I get Microsoft JScript runtime error: Object doesn't support property or method 'dialog' for this on IE9:

<script type="text/javascript">
$(document).ready(function () {

$("#savechanges").click(function () {

modal: true,
autoOpen: false,
buttons: {
"Confirm": function () {
"Cancel": function () {
return false;

<div id="dialog"></div>

<input type="submit" id="savechanges" value="Save changes" />

Gaurav Agrawal


Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25


check your JQuery Lib file may be previous version and then donwload for support IE.

Mark as Answer if its helpful to you

Gaur1982, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response