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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---