Okay so I'm a newbie.... I'm starting with the jquery ui page that
demo's dialogs. I added a button just before the end of the body:
<button onclick="ShowDialog()";>Again</button>
The body of the function:
function ShowDialog()
{
$("#dialog").dialog({ autoOpen: true });
alert("done");
}
I commented out the showing of the dialog on document load.
Press the button several times. The jquery dialog will display one
time only. The alert() always works. I would like it to display every
time I press the button. I have tried all kinds of options, but
nothing seems to work.
any ideas?
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
-~----------~----~----~----~------~----~------~--~---