Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

radio button checked jQuery

/*
	A quick way to check if a radio button as been checked is by using
    the .is(":checked") fucntion. A small example below :)
*/
var myElem = jQuery('#elemId'); // select the radio element
var testResult = myElem.is(":checked"); // returns true if checked, else false
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #radio #button #checked #jQuery
ADD COMMENT
Topic
Name
8+7 =