The easiest way would be to just use the .load() method in conjunction
with the .dialog() method:

$('<div/>').load('somepage.html', function() {
    $(this).dialog();
});

Alternatively, you could create a div that says "loading", instantiate
the dialog on that, and then load the page into that div.


On Feb 2, 6:53 am, Peter Karunyu <pkaru...@gmail.com> wrote:
> Hi,
>
> How can I use the dialog widget to show a page instead of a div? I am hoping
> to use jQuery UI to replace Prototype, unfortunately, Prototype had a very
> easy way of loading pages in a window.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to