| Author |
Javascript code help
|
Monoj Roy
Ranch Hand
Joined: Oct 10, 2007
Posts: 98
|
|
I have a div in my jsp and in run time the div is populated with a table I want to iterate through the div and want to find if there is any td Tag and want to get the text value of it . i want the following code help : var mydiv = document.getElementById("divid"); then iterateElement(mydiv) and alert all text value of the Tag td in it and alert with all those coma separated .
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. This post has been moved to a more appropriate forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
What have you written so far? Please be sure to use UBB CODE tags when posting code.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Monoj Roy Look into getElementsByTagName Eric
|
 |
 |
|
|
subject: Javascript code help
|
|
|