Guys
By time to time i am experiencing problem with the event handler/listener
defined in to the prototype.js library.
The error comes up around the lines n.1964 in the js file and this is the code:
_observeAndCache: function(element, name, observer, useCapture) {
if (!this.observers) this.observers = [];
if (element.addEventListener) { << <<<============================== the
error comes here
this.observers.push([element, name, observer, useCapture]);
element.addEventListener(name, observer, useCapture);
} else if (element.attachEvent) {
this.observers.push([element, name, observer, useCapture]);
element.attachEvent('on' + name, observer);
}
},
can somebody help me please??
many thanks in advanced
Luca_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com