JQuery click() not fired in ie8

后端 未结 2 676
情深已故
情深已故 2021-01-16 10:04

I\'m not a javascript professional so I can\'t solve the following code alone.

I have a delegate function which works fine in IE7. The Problem in IE8 I figuered out

2条回答
  •  耶瑟儿~
    2021-01-16 10:32

    I am not sure whether this helps or not. But try replacing

    $('#impressionen').click();
    

    with

    $('#impressionen').trigger('click');
    

    See

    trigger

    Trigger an event on every matched element.

提交回复
热议问题