Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check radio button

// Native JS solution:
document.getElementById("_1234").checked = true;
// JQuery solution:
$("#_1234").prop("checked", true);
 
PREVIOUS NEXT
Tagged: #javascript #check #radio #button
ADD COMMENT
Topic
Name
4+3 =