More details
When?
Sample code?

On Jan 19, 2007, at 6:15 PM, Luca Marsiglio wrote:

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

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to