IE 8 and below not triggering click on elements which have display: none; Any workaround?

前端 未结 6 901
死守一世寂寞
死守一世寂寞 2021-02-12 22:07

The issue is with Internet Explorer 8 and below. Have found a decent working solution.

Issue

Internet Explorer 8 and below is no

6条回答
  •  迷失自我
    2021-02-12 22:44

    different browsers interpret display:none differently. display:none actually means the element should disappear, making the jquery difficult to find in the DOM.

    a better way is to use visibility:hidden and then use click method

提交回复
热议问题