javascript - How to determine whether a DOJO Checkbox is checked or not? -
<input id="test" type="checkbox" value="test" data-dojo-type="dijit.form.checkbox">
how check above dojo checkbox checked or not in javascript function.
you can use javascript function checked on id, like:
if (test.checked == 1){ alert("checked") ; } else{ alert("unchecked") ; }
here .checked return "1" in case checkbox checked.
please try in javascript , let me know in case of concern.
Comments
Post a Comment