|
Nope.
Windows.prompt can only present a text field with the ok/cancel buttons.
You cannot present a drop down from them.
You have to create your popup in html for that.
But the popup blockers, and the fact that a window.prompt() freezes the javascript until the user input (which will not be the case with a popup) make it a complicated workaround.
I'd suggest you that you avoid javascript for that, and design your page to let the user make this choice in a form.
__________________
Listen to the ducky: "This is awesome!!!"
|