I have radio button list which has id as the value, I want to access the selected id in the jquery function.
It will get the selected value of the radiobutton at button click. ex for list
$("#btn").click(function() { $('input[type="radio"]:checked').val(); });