|
|
 |
create dynamic pull-down menu
superpc | Posted 0:18am 14. March 2002 Server Time |
how to create a dynamic pull down menu?
for example: i got <select name=country> <option value="US">US</option>
|
superpc | Posted 0:22am 14. March 2002 Server Time |
soryy accidentally submit the message
let say, in my pull down menu, i got 2 options: 1.US 2.Other
when the user select Other then it'll call a javascript and check whether , Other is selected or not. if the value is Other, then a msgbox is popup n allow user to key in a new country. after the that, i want my pull down menu now contain 3 values, that are US,Other and the new value that just added.
i saw the code b4 but i have forgotten where i saw it, so hope u all can help me, thanks
mickormick | Posted 1:08am 14. March 2002 Server Time |
Here's one of my favorite links for Javascript help...
http://developer.irt.org/script/script.htm
The "Javascript Form" link has been a life saver.
Show all replies to 'create dynamic pull-down menu'
|
To post a message to this discussion you need to be
a Haneng.com member. If you already are a member please log in
if not register as a member here (free).
|
|
|
|
 |
|