My question is " how can i select those <td> whose text starts with word "All" , and then set there class with name ".all" dynamically through jQuery"
<style type="text/css">
.all {text-decoration:bold;}
</style>
<table border="0" width="100%" class="tbClass">
<tr>
<td class="heads">Mobiles</td>
</tr>
<tr>
<td>Samsung Mobiles</td>
</tr>
<tr>
<td>All Mobiles</td>
</tr>
</table>