I have a table with following format :
<tbody id="ggwp">
<tr class="r123 disable-it">
<td>
<input type="checkbox" name="item" class="row" statusid="1234">
</td>
</tr>
<tr class="r124">
<td>
<input type="checkbox" name="item" class="row" statusid="1235">
</td>
</tr>
<tr class="r125 disable-it">
<td>
<input type="checkbox" name="item" class="row" statusid="1236">
</td>
</tr>
</table>
Now, I want to call perform some action whenever user will click on checkbox of the rows with 'disable-it' set in the classname. Also the event should be unfired when user will uncheck the checkbox.
Inshort, whenever user will click on checkbox of the rows with classnames ="r123 disable-it" and "r125 disable-it" ; some action must be performed and when user will unclick the checkbox, the event should be unfired/rolled back again.
How can I achieve this ? Thanks in advance for reading :)