Question : jquery

hi Experts,
I am new to jquery. I am using framework 3.5. I n my form , there are 4 radio buttons and group of controls like dropdowns, test box, list box, other buttons. Whenever i select any of the radio button, i should initialise all the controls and print the name of the form on first Text boxe, other controls get initialized.
Also tell me how to use jquery and test it the form. Please help me.

Kind Regards,
pooja

Answer : jquery

dropdownlist use a number (index of the text you want to display), not the text you want to put in.


$("#<%= DropDownList.ClientID %>").attr("selectedIndex", A NUMBER/INDEX);
1:
2:
3:
4:
<option value="SOME VALUE FOR INDEX 0">TEXT DISPLAYED FOR INDEX 0</option>
<option value="SOME VALUE FOR INDEX 0">TEXT DISPLAYED FOR INDEX 0</option>
<option value="SOME VALUE FOR INDEX 0">TEXT DISPLAYED FOR INDEX 0</option>
<option value="SOME VALUE FOR INDEX 0">TEXT DISPLAYED FOR INDEX 0</option>
Random Solutions  
 
programming4us programming4us