Internet explorer says Object doesn't support this property or method

后端 未结 8 908
遥遥无期
遥遥无期 2021-01-07 03:14

This line is 79:

window.addEvent(\'domready\', function(){     
    mySlide = new Fx.Slide(\'advert\');
    mySlide.hide();
});

It also doe

8条回答
  •  臣服心动
    2021-01-07 03:27

    (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.

提交回复
热议问题