Answers for "jquery get checkbox value if checked by value"

13

jquery checkbox checked value

if ($('#check_id').is(":checked"))
{
  // it is checked
}
Posted by: Guest on March-09-2020
0

if checkbox checked jquery value 1

var checked = '0';  if($('#checkbox').prop('checked')){ checked = '1'; }
Posted by: Guest on June-16-2020

Code answers related to "jquery get checkbox value if checked by value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language