Day: April 6, 2007

  • jQuery problem solving

    A guy on the jQuery mailing list asked how to achieve a goal. He had a table with checkboxes in  them.  He wanted the last checkbox to change the values of all the ones in that row.  The first answer came from Roman Weich which was: $(‘input.rowChecker’).click(function(){  $(this).parent().siblings(‘.updateItems’).find(‘input[@type=checkbox]’).attr(‘checked’,this.checked);}); I loook at it and thought.  Hmm, it…