My script is throwing an error on 'this.element.hasClassName()' in IE
(only, Chrome works fine). Debugging, I see that the method is not
present on the element. I gather that this is because the element is
not automatically Extended. I put the line
'Element.extend(this.element)' before it in the script; but this
didn't fix. Any hints?
Actually, I'm confused how it could not have been extended in the
first place, since the start of the function is:
init: function(idOrElement, parent) {
this.element = $(idOrElement);
and the $() is meant to extend automatically... no?
p.s.: IE8
--
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.