
Added by thebman220 on July-5-2008, 12:03 am
// access by calling "someArray.inArray(value);"
if (!Array.prototype.inArray) {
Array.prototype.inArray=function(val) {
for (key in this) {
if (this[key]===val) {
return true; // If you want the key of the matched value, change "true" to "key"
}
}
return false;
}
}
Added by thebman220 on May-2-2009, 4:40 am
Added by thebman220 on April-29-2009, 11:47 pm
Added by thebman220 on April-5-2009, 1:48 pm
Added by thebman220 on January-29-2009, 3:15 am
Added by thebman220 on January-29-2009, 3:04 am
