Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

In my application I am using 'dialog' method for open a model popup using jquery. Here error I am getting is

"Microsoft JScript runtime error: Object doesn't support property or method 'dialog' ".

Can anybody help me as early as possible?

Thank you in advance.
Posted
Updated 21-Oct-13 22:30pm
v2

1 solution

This issue arises due to following reasons

1. Reference to Jquery is not included in your page. If included check whether it is loaded or not
2. Use jQuery.noConflict() method to prevent any JQuery version overlapping.
 
Share this answer
 
Comments
[no name] 22-Oct-13 5:04am    
can you provide reference links for dialog method support in jquery.
[no name] 22-Oct-13 5:10am    
my code in jquery is

$(document).ready(function () {
$("[id*=btnModalPopup]").live("click", function () {
$("#dialogg123").dialog({
title: "jQuery Modal Dialog Popup",
buttons: {
Close: function () {
$(this).dialog('close');
}
},
modal: true
});
return false;
});
});

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900