Open fspafford opened 8 years ago
Some kind of basic-InputBox can become handy too
I found a workaround using InternetExplorer ActiveXObject.
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.navigate("about:blank");
while (oIE.Busy) { }
oIE.Visible = 1;
var obj = oIE.Document.Script;
var input = obj.prompt("Text", "Value");
oIE.Quit();
Unfortunately, IE window does not get focus and is not brought to top ...
Please consider adding support for alert, confirm, and prompt dialogs.
These dialogs are handy, and have many uses.