Q:

jQuery Find all rows that checked

I have a table with a checkbox .
I need to know which table rows was checked,
after clicking the Update button.
 <div id='ggg' style="position:absolute; bottom:0px" id=>

    <table class="display" id="poll">
    <th>Polling</th>
            <th>rrd</th>
<tr>
  <td>ping</td>
  <td>10.rrd</td>   
<td>
            <input type="checkbox" name="myTextEditBox" value="checked"/> 
        </td>  
  </tr>
<tr>
  <td>snmp</td>
  <td>11.rrd</td>   
<td>
            <input type="checkbox" name="myTextEditBox" value="checked" /> 
        </td>  
</tr>
</table>
<form>
<input type='button' id='update' value='update'>
</form>
    </div>

A:

Try this
$('#update').on('click',function(){
    $('#poll').find('input:checked').closest('tr').css('background','green');
});

DEMO

A:

Try this
$("#update").click(function () {
    $('input:checked').each(function () {
        alert($(this).closest("tr").text());
    });
});

Demo
Edit
$("#update").click(function () {
    $("#poll").find('input:checked').each(function () {
        alert($(this).closest("tr").text());
    });
});

