Is there a way to disable IE's UI (e.g. the File Menu) when showing a custom dialog/window? What I'm after is similar to what happens when you alert()
something: the browser UI cannot be interacted with behind the开发者_JS百科 alert box.
What you want is called a dialog, and JQuery has a good one.
Unfortunately what you want isn't going to be possible. alert
and confirm
both (1) pause the currently executing javascript and (2) act as modal dialogs for the browser. There is no other way to simulate this behavior.
精彩评论