I\'m looking for something like alert()
, but that doesn\'t \"pause\" the script.
I want to display an alert and allow the next command, a form sub
It may not be what you're looking for, but it might be appropriate to use window.status = 'foo'.
I use this a lot in one of my webapps for a intranet. Also the setTimeout approach works too, but it can block if the browser is busy on an intensive task. However the status bar update is always immediate.
This does require your viewers to have the setting that javascript can change the status bar -- always the case if it's a trusted site.