(MooTools)
My code was something like this:
var cancel;
//... bla bla
cancel = form.elements[i]; //cancel is now a
And I was getting the OP's exception on cancel.AddEvent()
. What fixed it for me was rewriting that as $(cancel).addEvent()
.
What a horrible browser.