jQuery .toggle() not working with TRs in IE

前端 未结 13 2549
暗喜
暗喜 2020-12-08 20:43

I am using jQuery\'s toggle() to show/hide table rows. It works fine in FireFox but does not work in IE 8.

.show()/.hide() work fine though

13条回答
  •  醉酒成梦
    2020-12-08 21:14

    Remove the period from your row. The syntax for jQuery class selecting is to prepend it with a period, but you don't need it in your HTML code.

提交回复
热议问题