HighDots Forums  

Microsoft Madness while writting Web2 App !!

alt.html alt.html


Discuss Microsoft Madness while writting Web2 App !! in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Neredbojias
 
Posts: n/a

Default Re: Microsoft Madness while writting Web2 App !! - 04-17-2008 , 03:44 PM






On 17 Apr 2008, Neredbojias <me@http://www.neredbojias.com/_eml/fliam.php>
wrote:

Quote:
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.
Well, you may be correct, but "implementing" can have various nuances and a
quick reading of the original post shows no complete function termed
getElementsById(). Furthermore, I _still_ don't really understand the
question because only 1 instance of a particular id is valid in a document.

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds


Reply With Quote
  #12  
Old   
Neredbojias
 
Posts: n/a

Default Re: Microsoft Madness while writting Web2 App !! - 04-17-2008 , 03:52 PM






On 17 Apr 2008, Bergamot <bergamot (AT) visi (DOT) com> wrote:

Quote:
Neredbojias wrote:

Say what? There ain't no "getElementsById", bro.

Um, he just explained he's writing his own function to get multiple
elements.
Well, you may be correct, but "implementing" can have various nuances and a
quick reading of the original post shows no completed function termed
getElementsById(). Furthermore, I _still_ don't really understand the
question because only 1 instance of a particular id is valid in a document.

Quote:
Some say there _is_ a
"getElementsByName"

Maybe you mean getElementsByTagName, which does work beautifully.
Actually, I saw in some Google reference a statement that
"getElementsByName" exists. Not saying the author's right, though, and
yes, I was really thinking of "getElementsByTagName".

--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.