Hiya, I have the following code to remove class name in the
parentnode, but it only works in FF, IE however gives "Object doesn't
support this property or method". Any idea?
<script src="prototype.js"></script>
<div class="foobar"><span id="test"
onClick="alert($
('test').parentNode.removeClassName('foobar'))">testtest</span></div>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.