Menu
Hi All,
Is it possible to pass an element reference to a function such as:
[CODE]<a href=’javascript:hideAll([B]this[/B]);’>Click Here</a>
And then get the class name of the element, such as:
[CODE]function hideAll(e) {
alert(e.id);
alert(e.className);
if(e.className == “hideAll”) {
e.className = “showAll”;
}
}
That gets to the root of what I’m trying to do.
Thanks.
_t