jQuery hide show div doesn't work in Internet Explorer

前端 未结 5 2023
青春惊慌失措
青春惊慌失措 2020-12-19 17:18

When I click togglediv, commentdiv must be visible or hidden. The following code is running on Firefox but not Internet Explorer:

5条回答
  •  感动是毒
    2020-12-19 17:55

    Something I noticed that was interesting, and I think it was touched on above by cletus, is that if you switch the order of the "show" line with the "text" line - it seems to start working. I have no explanation for this; it would be nice to know what is going on behind the scenes.

提交回复
热议问题