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 July-9-2008, 11:31 pm
Added by thebman220 on July-5-2008, 12:50 am
Added by thebman220 on July-4-2008, 11:12 pm
Added by thebman220 on July-4-2008, 11:02 pm
Added by thebman220 on July-4-2008, 10:36 pm