Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing entries in select box when other item changed

Status
Not open for further replies.

rmagan

Programmer
Jun 3, 2003
35
US
I have a form that uses 2 select boxes. I need to populate the options of the 2nd select box based on what was chosen in the 1st select box. What can I do?

<SELECT name=&quot;p_opt1&quot;>');
<OPTION value=ALL>ALL Assignments
<OPTION value=1>1 Assignment
<OPTION value=2>2 Assignments
</SELECT>

<SELECT name=&quot;p_opt2&quot;>');
<OPTION value=ALL>ALL Assignments
<OPTION value=1>1 Assignment
<OPTION value=2>2 Assignments
</SELECT>

 
do a keyword search on &quot;dynamic listboxes&quot; or &quot;dynamic select&quot;

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top