Forum Moderators: open
document.getElementsByClassName('element').style.display = 'none'
and its not working, my js debugger sais that document.getElementByClassName('class').style has no properties, I was googling a little bit to find the reason why, and it seems that this DOM event returns an array of objects or something like that but I havent been able to figure out how to handle it so far.
thanks in advance.