Works like so
$("<p>hello, world</p>").dialog({ modal: true });
- Richard
On Tue, Nov 10, 2009 at 6:36 PM, Ashish <[email protected]> wrote:
> Hey-
>
> I was just curious if there was a reason this isn't possible:
>
> $.dialog("some html for a message", {autoOpen: true});
>
> which would stick the HTML into the DOM and then open it in a dialog,
> passing any additional parameters to the $().dialog()?
>
> -Thanks
>
> Ashish
>
> --
>
> 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]<jquery-ui%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=.
>
>
>
--
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=.