Sebastian

i reported that error (below mentioned) cause it was fired via a javascript 
debugger.
however i have just seen this regards an error in one of my ActiveX.

Many Thanks anyway 
Luca

----- Original Message ----- 
  From: Sébastien Gruhier 
  To: [email protected] 
  Sent: Friday, January 19, 2007 8:15 PM
  Subject: Re: [Javawin] problem with addEventListener


  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
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to