No, not directly. The only two options you have are the alert box and the prompt / input box.
What you could do is open a new browser Window using JavaScript (window.open). The new window should be sized s it looks like an input dialog. (You won't be able to resize it to anything smaller than 100 x 100 due to security restrictions). Then you can return a value from that new window, or use some JavaScript to add the selected value to the parent form.
Does that make sense?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|