Wednesday, January 28, 2009

[jQuery] Re: How to block the javascript engine when jQuery.ui.dialog is pop up?

The only elegant solution is to structure your code so that there are
no 'loose' statementes following dialog('open'), then call them from
the dialog close callback. You can't stop the browser other than
freezing it with a loop.

On Jan 28, 1:16 am, mctpursuer <mctpurs...@yahoo.com> wrote:
> Hi, I am trying to replace javascript built-in alert & prompt with
> jQuery.ui.dialog, the problem is dialog won't block the javascript
> engine from excuting statements following the dialog("open"). Is there
> an elegant solution for this? Thanks.

No comments: