.dialog() is not a function while opening jQuery popup/dialog

Posted by RohiK under jQuery on 2/2/2011 | Points: 10 | Views : 18707 | Status : [Member] | Replies : 2
hi all

I am using jQuery dilog and all the files are working and popup gets opened in one page and that files are not working on other page.
(master page is different in both)
what to do?

I am using these files
<script src="../WebFiles/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="../WebFiles/js/jquery.ui.core.js" type="text/javascript"></script>

<script src="../WebFiles/js/jquery.ui.widget.js" type="text/javascript"></script>

<script src="../WebFiles/js/jquery.ui.position.js" type="text/javascript"></script>

<script src="../WebFiles/js/jquery.ui.button.js" type="text/javascript"></script>

<script src="../WebFiles/js/jquery.ui.dialog.js" type="text/javascript"></script>

Happy Programming!!
Rohi



Responses

Posted by: jayanthichebrolupanoramicworldbiz-8895 on: 2/9/2011 [Member] Starter | Points: 25

Up
0
Down
The sample code i am sending here is the proper way to open the dialog

$("#dialog").dialog({ modal: true, resizable: false,
draggable: false, width: 515, height: 245 });

$("#dialog").dialog('open');


Here the first line denotes the initiation of the dialog for the div or HTML control.in second statement, JQuery is calling the dialog property and forcibly loading the dialog to the DOM and shows it on the screen.so open property is also needed.

Can u send few code how you open the dialog using jquery.



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

Posted by: Sagarp on: 2/11/2011 [Member] Bronze | Points: 25

Up
0
Down
Ref this


http://jqueryui.com/demos/dialog/


Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

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

Login to post response