javascript htmlDivElement problem
Posted
by Fearghal
on Stack Overflow
See other posts from Stack Overflow
or by Fearghal
Published on 2010-05-14T10:35:45Z
Indexed on
2010/05/14
10:44 UTC
Read the original article
Hit count: 130
JavaScript
Hi guys,
I have a htmlDivElement (with no id) - and I'm trying to access and change the style of it..
Problem is everything I try returns 'Undefined' when i try to alert it
Eg:
alert (htmldivelementobject.className)
I've also tried getAttribute but it returns the same thing... Where am I going wrong?
F
© Stack Overflow or respective owner