I have a list with a checkbox and some text (like email's inbox). I want to check/uncheck the checkbox when i click anywhere on the list item (row). I have used following code on click event of the row:
$(this).find(.cbx input).attr('checked', true);
For first time, it show the checked checkbox. But when I click select it next time the value of checkbox checked=checked updates in the html code (i checked through firebug) but the checkbox does not displayed as checked.