IE8 Javascript Issues

This question already has an answer here:

  • Why doesn't indexOf work on an array IE8? 7 answers

  • IE8 Arrays does not support the method indexOf

    You can refer to this SO Question, and extend the Array Prototype

    Why doesn't indexOf work on an array IE8?

    In other words: just add the code of that question answer before your call (maybe at the top of your js file)

    // the one that starts with: Array.prototype.indexOf = function(elt /*, from*/)
    

    IE8 JScript引擎没有indexOf

    链接地址: http://www.djcxy.com/p/18956.html

    上一篇: 对象不支持这个属性或方法

    下一篇: IE8 Javascript问题