i need to highlight the entire row using jquery or php. is there any way to do this? or please suggest me the alternative?
Here is the code i'm working on:
<table id ="gdRows" class="table table-bordered"> <tr class="info"> <td><input type='checkbox' id="selectall" onclick = "selectAll(this)"></td> <td><strong>Username</strong></td> <td><strong>Password</strong></td> </tr> <?php for($i=0; $row = $qry->fetch(); $i++){ $username = $row['username']; $password = $row['password']; ?> <tr class="success"> <td><input type="checkbox" name="chkDelete" ></td> <td><?php echo $username; ?></td> <td><?php echo $password; ?></td> </tr> <?php } ?> </table>