| View previous topic :: View next topic |
| Author |
Message |
optomeb
Joined: 19 May 2006 Posts: 113
|
| How can I loop through all nods of some element? |
| |
|
|
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| document.getElementsByTagName |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| froomzer - that would give me all nods with some tag names on the entire document... I want just inside getElementById("id") |
| |
|
|
Jackil
Joined: 24 May 2006 Posts: 97
|
Someelement.getElementsByTagName
Not document.getElements... |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| optomeb, Oh. "All nodes INSIDE some element" not "all nodes of the same TYPE fo element". |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| Make sense... will try, thanks. |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| someelement.getElementsByTagName("*"); |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| <form><ul><li><input>... will the input be a nod of the form or the <li> |
| |
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
| What is the eq. of PHP explode() in Javascript? |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| String.split() |
| |
|
|
|