javascript: use getElementsByName for 'this'?
Posted
by stelmate
on Stack Overflow
See other posts from Stack Overflow
or by stelmate
Published on 2010-05-04T15:11:01Z
Indexed on
2010/05/04
15:18 UTC
Read the original article
Hit count: 142
JavaScript
I need to get some children elements and loop over them using inline javascript for a onmouseover event. When I try to use this.getElementsByName I'm getting an error that the object does not support this property. I was under the impression that getElementsByName work for element objects which I thought 'this' would be considered. Anyone have any other ideas on how I can achieve this?
© Stack Overflow or respective owner