-Log in
-Register (free)


-RSS Feeds
-New MyDesk Module
-Update to Profile

www.nikeec.com wholesale G-Star Jean True Religion
www.nikeec.com wholesale Diesel Jean True Religion
www.nikeec.com wholesale Christian Audigier Jean T




 Forums /

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.
1
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).



| Info |
© Copyright 1997-2010 Alexander Haneng