Posted By

Igeco on 10/17/14


Tagged

javascript table


Versions (?)

Check if one checkbox is checked (from a list, a table...)


 / Published in: jQuery
 

Vérifie si une checkbox a été cochée

  1. function checkOneChecked () {
  2. if ($("input[type=checkbox][checked]").length != 0) {
  3. return true;
  4. }
  5. return false;
  6. }

Report this snippet  

You need to login to post a comment.