TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
scropio gurl
NA
147
99.1k
onclick on tr row
Jul 20 2016 4:13 AM
I try to display alert when click on row
i try this
<table cellspacing=
"0"
rules=
"all"
border=
"1"
id=
"tabledata"
style=
"border-collapse:collapse;"
>
<tr>
<th>ID</th>
<th>Name</th>
<th>DOB</th>
<th>Email</th>
</tr>
<tr>
<td>237</td>
<td>John</td>
<td>05/04/1981</td>
<td>
[email protected]
</td>
</tr>
<tr>
<td>238</td>
<td>Tom</td>
<td>11/11/1967</td>
<td>
[email protected]
</td>
</tr>
</table>
but when i try this nothing happens check js fiddle
https://jsfiddle.net/jjhby695/19/
$(
"tabledata tr"
).click(
function
() {
alert('unitNo');
});
Reply
Answers (
4
)
DatePicker in Jquery
Delete button no responding and not remove record