InnerHTML issue in IE8 and below

前端 未结 2 2038
执笔经年
执笔经年 2020-12-18 08:22

I am editing some code from a previous developer for a timetable filtering system. The way I would tackle this myself is using jQuery so I am having a few issues debugging t

相关标签:
2条回答
  • 2020-12-18 09:04

    Have a look here: http://blog.rakeshpai.me/2007/02/ies-unknown-runtime-error-when-using.html

    Seems that IE will throw this error when you try to insert html that it doesn't like there. What's in xmlhttp.responsetext? Are you trying to add a tr or td directly beneath the div perhaps?

    0 讨论(0)
  • 2020-12-18 09:15

    This error occurs when the you don't follow the W3C tag recommendations. IE is very picky about this and Firefox is not. You can read more here: http://blog.rakeshpai.me/2007/02/ies-unknown-runtime-error-when-using.html

    Here's a similar question that might help you: Fixing "unknown runtime error" in IE8

    Here's another link on the same thing, and specifically the "form within a form" issue: http://jadendreamer.wordpress.com/2009/06/02/internet-explorer-fix-unknown-runtime-error-using-innerhtml-ajax/

    0 讨论(0)
提交回复
热议问题