7

$(this).parents(".parent-div").find(".input:not(:checked)").prop("checked", false);

True story.

Comments
  • 0
    I have this gem in my current application

    parseInt($(this).parent().parent().find('.bold').parent().prev().find('a').html(), 10);
  • 0
    @rEaL-jAsE it is unchecking the uncheckeds inputs.
Add Comment