![]() | |
#11
| |||
| |||
|
|
am implementing a quick getElementsById function I assume you mean getElementById (singular, not plural) In IE i am using document.all (i presume this is the only efficient alternative for IE, am i correct?).. getElementById works in IE just fine. Have you tried it? -- Berg Nope i did mean getElementsById, getElementById only returns one object irrespective of how many objects with the same ID exist. In this case i may have the same market data appear in different DIV elements and this just want to return an array of all Divs with that ID; something getElementById will not do. cheers. Say what? There ain't no "getElementsById", bro. Some say there _is_ a "getElementsByName", but I've never used it so I can't elucidate eclectically. |
#12
| |||
| |||
|
|
Neredbojias wrote: Say what? There ain't no "getElementsById", bro. Um, he just explained he's writing his own function to get multiple elements. |
|
Some say there _is_ a "getElementsByName" Maybe you mean getElementsByTagName, which does work beautifully. |
![]() |
| Thread Tools | |
| Display Modes | |
| |