By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,480 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,480 IT Pros & Developers. It's quick & easy.

how to stop the script engine?

P: 1
Hi,
I would like to know how to stop the jscript engine from executing further. For example, when you say window.confirm or window.prompt, the jscript engine stops till the dialog returns some value. I would like to get the same kind of functionality in my page, but without using prompt(), confirm(), showModalDialog() or showModelessDialog(). Please help me.
Feb 20 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Welcome to The Scripts.

Why would you want to do that? It would only confuse the user since nothing is happening and the browser is stuck. In any case, I don't think it is possible (I may be wrong especially if you're taking about JScript which is not Javascript) unless you fake the effect by setting a loop which does something.
Feb 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.