Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Getting elements in td
Shailesh Narkhede
Ranch Hand
Posts: 368
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Ranchers,
I want to get elements in td of the table,
Elements means,
in javascript I am getting all td in document,
then I want to get type of element in that td (input,textarea, etc...)
thanks in advance.
Thanks,
Shailesh
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Where's your code? What problems are you having with it?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Eric Pascarello
author
Posts: 15385
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You might want to look into
getElementsByTagName
or
childNodes
Eric
Shailesh Narkhede
Ranch Hand
Posts: 368
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Bear and Eric,
by using childNodes property I can get array of elements in td.
& from that array I can get types of elements that what I want.
Thanks again.
Thanks,
Shailesh
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Extracting a parameter from c:out value
Get Rows from a Table
HashMap values in JSP?
Easy way to parse HTTP response
Mouse over on the whole td element
More...