Why does .html work and not innerHTML or appendChild

后端 未结 4 2065
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-18 11:30

I am trying to add an ajax response to a div (it\'s HTML code with tables, forms, etc).

In FF innerHTML works perfectly, but in IE it gives me an unkno

4条回答
  •  甜味超标
    2020-12-18 11:56

    IE is fussy about changing

    s from javascript. I've run into trouble before if I don't specify the table down to the last detail, including the tag.

    提交回复
    热议问题