Page 1 of 1

show/hide a layer with a combo box :/

Posted: Sat Jul 12, 2003 2:34 pm
by qads
hi,

Code: Select all

<form name="form1" method="post" action="">
  <select name="age" id="age">
<option value=""><--Select One--></option>
    <option value="10">10</option>
    <option value="20">20</option>
    <option value="30">30</option>
    <option value="Unspecified">Unspecified</option>
  </select>
</form<layer name="unsp" width="100%" visibility="hide">Some text here.</layer>
how would i show the above layer when a user selects "Unspecified" as a option from the drop down menu? at start, the layer needs to be hidden so it only shows up when "Unspecified" is selected.

i know some javascript but i can't do this :/....any help would be great!

thank you

Posted: Tue Jul 15, 2003 8:18 am
by qads
thanks anyways, i found a way to do it :D.