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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form properties

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
GB
I am trying to make a form that changes depending on what is selected in the drop down.

<select name=typeID style=&quot;font-size: 10px&quot;>
<option value=&quot;All&quot;>All</option>
<option value=&quot;BP&quot;>BP</option>
<option value=&quot;OLP&quot;>OLP</option>
<option value=&quot;MLP&quot;>MLP</option>
</select>

--- this section needs to change depending on what is selected, ie all would show nothing, olp would show only ES

And
UP <input type=checkbox name=UP value=UP CHECKED>
ES <input type=checkbox name=ES value=ES CHECKED>

can anyone help me on that?!?

Tim

 
I think it would be a series of response.write's

I dont know the properties for once that dropdown is clicked, but once it is clicked, you could probably call a function which wrote your HTML depending...

Say, if you needed BP to display different boxes with the same type of effect, and OLP to display yet another set of boxes...you could write the code for the boxes in functions, and call per function...say....

OLP calls option
BP Calls option2

Option 2 and option have code for calling sub options perhaps?...maybe vituz could help you a little better...any help here vituz? Regards,
Anth:cool:ny
----------------------------------------
&quot;You say [red]insanity[/red] like it's a BAD THING!&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top