| Author |
how to get the row object of display object in javascript
|
aman thind
Ranch Hand
Joined: Jun 29, 2007
Posts: 71
|
|
Hi,
I have a display tag in my jsp. When user clicks on a particular row, i was to call a javascript function and check the row selected and perform some functions like changing the look of row and get some data from it and compare with some thing else.
There are a few examples which i found after googling but none of them seems to be working Any idea how to achieve this?
Thanks in advance.
Aman
|
Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
|
 |
Chris Montgomery
Ranch Hand
Joined: Jan 14, 2004
Posts: 141
|
|
|
Have you investigated jQuery for this?
|
 |
aman thind
Ranch Hand
Joined: Jun 29, 2007
Posts: 71
|
|
|
Found the soln. I used getElementByTagName("tbody") which is dynamically generated by display tag.
|
 |
 |
|
|
subject: how to get the row object of display object in javascript
|
|
|