J
Jason Whittle
I would like to create a control similar or identical to the <SELECT>
HTML element that operates in the same mode as window.alert(),
window.confirm() and window.prompt(). Another way to say it is that
I'm trying to create a function that is just like window.prompt()
except that it has a drop-down menu instead of a text box.
Is this something that has been done before, and if so, is there
source available? If not, is there a more general function that
creates a modal dialogue like alert, confirm and prompt?
For the curious and anyone who thinks modal dialogues are a Bad Idea,
this technique is intended for mobile Safari, which does not respond
to focus() calls.
Cheers,
Jason Whittle
HTML element that operates in the same mode as window.alert(),
window.confirm() and window.prompt(). Another way to say it is that
I'm trying to create a function that is just like window.prompt()
except that it has a drop-down menu instead of a text box.
Is this something that has been done before, and if so, is there
source available? If not, is there a more general function that
creates a modal dialogue like alert, confirm and prompt?
For the curious and anyone who thinks modal dialogues are a Bad Idea,
this technique is intended for mobile Safari, which does not respond
to focus() calls.
Cheers,
Jason Whittle