James Fishwick

  •  Minimal
  •  CSS Tomfoolery

check if checkbox/radio is checked using jQuery

Code Snippet, jQuery, Note to Self

No Comments


Share this post
//returns true or false
$('"input[type=radio]').is(':checked');

$("input[type=checkbox]:checked").each(
    function() {
       // do something at each checked radio or checkbox
    }
);

Read more