jQuery .html() not displaying any data in ie7, but ie8 works

后端 未结 3 561
夕颜
夕颜 2021-01-19 01:52

So who doesn\'t have issues with ie7 ?

It seems that I cannot get ie7 to recognize some data.

I have created a wordpress theme for a client of mine, and this

3条回答
  •  逝去的感伤
    2021-01-19 02:38

    I had this bug too.

    The solution is to validate the html content that I was trying to print or add.

    I tried several jquery functions: html, append, appendTo... But nothing worked.

    In my case the html had an extra close tag. I deleted it and now everything is working ok.

提交回复
热议问题