Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
how to get text inside a td from jquery
Emad khan
10y
5.8k
1
Reply
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>
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Javascript runtime error: for date picker
Jquery For Add Month(integer number) with Date