mercredi 12 octobre 2016

i want to check any checkbox is checked or not in current tr...How its possible?

when user click on Allow then deny will be disable or when click on Deny then Allow will be disable.

enter image description here

this is my table structure..

<table class="table table-bordered table-hover">
    <thead>
        <tr>
            <th> Sequence </th>
            <th> Name</th>
            <th> Allow </th>
            <th> Deny </th>
        </tr>
    </thead>
    <tbody>

        <tr>
            <th class="active">Repositary Service</th>
        </tr>
        <tr class="access_tr">
            <td class="sr_no"> 1 </td>
            <td> Select File </td>
            <td> <input type="checkbox" class="rights_checkbox" value="select_file/1" name=""> </td>
            <td> <input type="checkbox" class="rights_checkbox" value="select_file/2" name=""> </td>

        </tr>
    </tbody>
</table>




Aucun commentaire:

Enregistrer un commentaire