I have the following
$("tr[data-id]:not([data-id='" + id + "'])")
that gets all the rows in the table except the one I want to exclude based on id value, but I now need to also exclude those where the checkbox is disabled, but I cant figure out how to incorporate the additional parameter into the selector statement.
Below is an example of a row that should be excluded ..... based on its checkbox disabled attr
<tr data-id="5">
<td>
<label style="position:relative">
<input class="active status-color checkbox-slider yesno " title="no" type="checkbox" disabled="disabled">
<span class="text"></span>
</label>
</td>
</tr>
Thanks.
I need rows that DO NOT match the id variable AND of those rows DO NOT contain a checkbox that IS disabled