JavaScript Support and Array.indexOf in IE


if (!Array.indexOf) {
Array.prototype.indexOf = function (obj, start) {
for (var i = (start || 0); i < this.length; i++) {
if (this[i] == obj) {
return i;
}
}
}
}

, ,

  1. No comments yet.
(will not be published)