“Stack overflow in line 0” on Internet Explorer

后端 未结 13 2091
时光取名叫无心
时光取名叫无心 2020-12-14 00:48

I realise this is not the ideal place to ask about this in terms of searchability, but I\'ve got a page whose JavaScript code throws \"Stack overflow in line 0\" errors when

13条回答
  •  太阳男子
    2020-12-14 01:15

    I have reproduced the same error on IE8. One of the text boxes has some event handlers to replace not valid data.

    $('.numbersonly').on("keyup input propertychange", function () {
        //code
    });
    

    The error message was shown on entering data to this text box. We removed event "propertychange" from the code above and now it works correctly.

    P.S. maybe it will help somebody

提交回复
热议问题