Does anyone know how to get any variant of the JQuery UI Modal Dialog to pop up and stay popped up when the user clicks a button?
I got the default example working great on my local machine (http://jqueryui.com/demos/dialog/#modal-confirmation
). The default example pops up on docready. No problem. Then I wanted it to only pop up when the user clicks "submit" on a form. I thought this would take seven seconds, and seven hours later I'm out of options.
No code sample provided. ANY pointing in the right direction or any sample will be greatly appreciated. BTW - I can get the modal dialog to pupup on the click event, but it disappears in a split second because of postback / form submit. I'd think the modal: true would stop form submit in the same way that alert('hello world'); will totally stop a form submit but ... nope it doesn't.
Anyone? Thanks in advance.