尝试这个
演示
$(document).ready(function(){
$( ".comboId" ).change(function() {
//make your chnages here
$(this).closest('tr').css('color','red');
});
});
HTML
<table>
<tr>
<th style="width: 15%;">Name</th>
<th style="width: 15%;">Marks</th>
<th>Grade</th>
</tr>
<tr id="tableId">
<td style="text-align:centre;">any value</td>
<td style="text-align:left;">other value</td>
<td style="text-align:left;">
<select class="comboId">
<option value="option1" selected="selected">Option 1</option>
<option value="option2">Option 2</option>
</select>
</td>
</tr>
<tr id="tableId">
<td style="text-align:centre;">any value</td>
<td style="text-align:left;">other value</td>
<td style="text-align:left;">
<select class="comboId">
<option value="option1" selected="selected">Option 1</option>
<option value="option2">Option 2</option>
</select>
</td>
</tr>
<tr id="tableId">
<td style="text-align:centre;">any value</td>
<td style="text-align:left;">other value</td>
<td style="text-align:left;">
<select class="comboId">
<option value="option1" selected="selected">Option 1</option>
<option value="option2">Option 2</option>
</select>
</td>
</tr>
<tr id="tableId">
<td style="text-align:centre;">any value</td>
<td style="text-align:left;">other value</td>
<td style="text-align:left;">
<select class="comboId">
<option value="option1" selected="selected">Option 1</option>
<option value="option2">Option 2</option>
</select>
</td>
</tr>
</table>