Answers for "jquery multiple checkbox checked count j"

-1

get multiple checkbox value in jquery

//get multiple checkbox value in jquery

$(document).ready(function(){
$(".chk").click(function(){
var d = $("input[name=test]"); if(d.is(":checked")){
//
}
});
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<input type="checkbox" name="test"> `test1`
<input type="checkbox" name="test"> `test2`
<input type="checkbox" name="test"> `test3`
<input type="button" value="check" class='chk'/>
Posted by: Guest on July-09-2021

Code answers related to "jquery multiple checkbox checked count j"

Browse Popular Code Answers by Language