Click here to Skip to main content
15,877,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I want to set a Value of "null" in RadioButtonList.

I have this JavaScript that when doubleclick it will unselected. But I save it on the database it still have value.

I just want to Set the selected value to null.

thanks in advance.
Posted
Comments
janwel 17-Aug-11 22:55pm    
please post your codes so that we can know what the problem is

1 solution

Hi
You can find awesome examples here:

.val()[^]

or you can set value of Selected Radiobutton like

C#
$('input[@name="correctAnswer"]')[0].val("this is new value");


Thanks,
Imdadhusen
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900