The only way would be to not have any javascript statements after the
open statement.  If, however, you mean you don't want users triggering
other events or interacting with the page after a dialog has been
opened then you can do this by simply setting the dialog modal:true.

On Jan 28, 3: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.

Reply via email to