Connecting Tech Pros Worldwide Forums | Help | Site Map

DDL Keep repeating.. on same page once selected.

Newbie
 
Join Date: Feb 2008
Posts: 28
#1: Mar 26 '08
My code is similar to the one below.
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <script src="selectuser.js"></script>
  4. </head>
  5. <body><form> 
  6. Select a User:
  7. <select name="users" onchange="showUser(this.value)">
  8. <option value="1">Peter Griffin</option>
  9. <option value="2">Lois Griffin</option>
  10. <option value="3">Glenn Quagmire</option>
  11. <option value="4">Joseph Swanson</option>
  12. </select>
  13. </form><p>
  14. <div id="txtHint"><b>User info will be listed here.</b></div>
  15. </p></body>
  16. </html>
  17.  
each time i select something output the result and also show a new DDL and option.. So i having several DDL apparing one at a time when i select an option in the DDL.
Please help...

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#2: Mar 26 '08

re: DDL Keep repeating.. on same page once selected.


I dont understand...

Do you have an online example?
Newbie
 
Join Date: Feb 2008
Posts: 28
#3: Mar 26 '08

re: DDL Keep repeating.. on same page once selected.


Not too worry.. Thanks anyway
Reply