JSFiddle - React, Tailwind, and code Playground
by darkajax
HTML
<input id='chk' type="checkbox" value="1" name="fields[comment_owners_only]">
JavaScript
$('#chk').click( function(){
var thisval = $(this).val();
alert(thisval)
});
by darkajax
<input id='chk' type="checkbox" value="1" name="fields[comment_owners_only]">
$('#chk').click( function(){
var thisval = $(this).val();
alert(thisval)
});