Answers for "jquery set input checked"

9

jquery set checkbox checked

//jQuery 1.6+ use
$('.checkbox').prop('checked', true);
//jQuery 1.5.x and below use
$('.checkbox').attr('checked', true);
Posted by: Guest on July-10-2020
0

checkbox set checked jquery

.prop('checked', true);
Posted by: Guest on October-13-2020
0

jquery set input checked

$("#estado_cat").prop( "checked", true );
Posted by: Guest on April-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language