what's syntax for uncheck the checkbox for in specific row?
- by Annie Chen
I'm new to JQuery, i want to uncheck certain row in the repeater grid.
I got this work, this will uncheck all checkbox for me.
$('span.chkIncRows input').attr('checked', false);
This works for me, if I want to uncheck row #2 checkbox from the repeater, without passing row number.
$('span.chkIncRows input')[2].checked =false;
I don't know the syntax to uncheck the checkbox, if i want to pass in the row number into checkbox.
For example: I really want to do something like this, but it doesn't work.
$('span.chkIncRows input')[rowNumber].checked =false;
Thanks advance for your help.
Annie