I am getting a script error in ie8 for an array object. The error is : "Object doesnt support property or method 'indexOf'
Anyone have an idea or info on how to best solve this for ie8?
Thanks
var arr = new Array();
Array.prototype.remove = function() {
var what, a = arguments, L = a.length, ax;
while (L && this.length) {
what = a[--L];
while ((ax = this.indexOf(what)) !== -1) {
this.splice(ax, 1);
}
}
return this;
};