Showing posts with label jQuery RadioButton. Show all posts
Showing posts with label jQuery RadioButton. Show all posts

Monday, January 31, 2011

id of selected RadioButton

To get ID of Selected RadioButton using jQuery (change nameOfRadio to actual radio name)
var id = $("input:radio[name=nameOfRadio ]:checked").attr('id');