Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: dropdown list example


Message #1 by "surya madhavi" <surya_madhavi@y...> on Sat, 22 Mar 2003 13:44:32
hai

   i created an drop down list with optgroup tag.i need to select the 
whole group at one click is it possible.i am attaching the code for your 
better understanding
 <SELECT name="discount" >
   <OPTION selected label="none" value="none">None</OPTION>
    
     <OPTGROUP  value="level1">
       <OPTION  value="1">1</OPTION>
       <OPTION  value="1">1</OPTION>
       <OPTION  value="1">1</OPTION>
     </OPTGROUP>
  <OPTGROUP  value="level2">
       <OPTION  value="2">2</OPTION>
       <OPTION  value="2">2</OPTION>
       <OPTION  value="2">2</OPTION>
     </OPTGROUP>
 </SELECT>

i wrote the above code.if i select level1 i need to get all the three 
option tag values.is it possible

bye

  Return to Index