.InnerHTML Not working properly in Internet Explorer

后端 未结 10 1601
一个人的身影
一个人的身影 2020-12-19 08:55

I wanted to assign a link tag to innerHTML of a HTML control. But this is not working properly in Internet Explorer. However when I try to assign anything other than &

10条回答
  •  长情又很酷
    2020-12-19 09:17

    What exactly are you trying to achieve, as your end goal? As said previously a link tag should really only appear in the of an html document.

    JavaScript can be a tricky thing in its vanilla flavour, you're better off using a framework, my personal favourite is MooTools though I hear JQuery is pretty good, but MooTools has OOP (for real programmers - tehe).

    This'll allow you to do a lot more, and probably get to your end goal, if you let me / us know then you should get a more direct answer to your issue.

提交回复
热议问题