Click here to Skip to main content
15,887,297 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear Sir/Mam


In my web form there is a radiobutton list which contains three radio button. On selecting any of there radio button i have to open and hide a div.How can i generate click event through javascript on selecting any radio button? please reply soonly.


Thanks in advance

With Regards
Sanjay Gupta
Posted

1 solution

With the help of JQuery, you can implement this. Here is how:

JavaScript
$("#<%=rdoUserList.ClientID%> input").change(function() {

               //Implement your logic here

});
 
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