Quantcast
Channel: Check if checkbox is checked with jQuery - Stack Overflow
Viewing all articles
Browse latest Browse all 28

Answer by infomasud for Check if checkbox is checked with jQuery

$
0
0
$(document).on('click','#checkBoxId',function(){  var isChecked = $(this).is(':checked');  console.log(isChecked);});

This code above works also on bootstrap modal. isChecked is true or flase ;


Viewing all articles
Browse latest Browse all 28

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>