removeFilter() function not working in IE9

纵然是瞬间 提交于 2019-12-08 06:51:17

问题


I have a removeFilter() javascript function in my application and it is not getting invoked for some reason and throwing the following error ONLY in IE9. I initially thought it be some typo in my invocation code but when i simple change the name to something other than removeFilter() (say for example applyFilter()) the function seems to be working fine. I simple tried printing some alerts within the function and the function was not invoked. Please note the function works fine in other IE 7, IE8.

ERRROR: SCRIPT65535: Argument not optional


回答1:


See http://www.jabcreations.com/blog/internet-explorer-9 -- evidently removeFilter (and addFilter) are among a list of reserved functions in IE 9.



来源:https://stackoverflow.com/questions/9463032/removefilter-function-not-working-in-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!