RemoveFilter () function not working in IE9
I have a javascript removeFilter () function in my application and for some reason it doesn't get called and throws the following error ONLY in IE9. I originally thought it was some typo in my calling code, but when I just change the name to something other than removeFilter () (say for example applyFilter ()) the function seems to work fine. I tried printing some warnings inside the function and the function was not called. Please note that the function works fine in other IE 7, IE8.
ERROR: SCRIPT65535: Argument is optional
+1
source to share
1 answer
See http://www.jabcreations.com/blog/internet-explorer-9 - obviously removeFilter (and addFilter) are on the list of reserved functions in IE 9.
+3
source to share