Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Global' variables in jquery
Message
 
 
To
20/12/2012 16:34:28
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01560348
Message ID:
01560353
Views:
45
>Not sure if the following would work. It's my SWAG:
>
>var dlg = null;
>
>function createdlg() {
>dlg = $("#sform").dialog({
> autoOpen: false,
> show: "blind",
> resizable: true,
> width: 1200,
> height: 750
> });
>}
>
>function mytest() {
> dlg.dialog("close");
>}

I was thinking I also rather make it a function (so this is what I just stated)

function RunModalDialog(url)
....
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform