[thelist] Re: DOM - Retrieving child nodes using a compound expression
raskenbo
raskenbo at gmail.com
Thu May 12 13:09:46 CDT 2005
Thank you all so much. It was the extra "t" in getElementstByTagName.
I new it had to be something obvious. Now I can get on with my life
Best,
Ken Chase
<snip>
> What I want is to retrieve all of the input elements that are located
> within a specific div.
>
> I've tried the following:
> var inputs = document.getElementById("questiona").getElementstByTagName("input");
>
> Here's the error message that the Firefox JavaScript console throws
> when I try the above code:
> Error: document.getElementById("questiona").getElementstByTagName is
> not a function
<snip>
More information about the thelist
mailing list