This snippet will give you the InArray function for Javascript.
Sample Javascript
Array.prototype.InArray = function (input) { var i; for (i=0; i < this.length; i++) { if (this[i] === input) { return true; } } return false; };
All the Code Snippets and Samples you need
This snippet will give you the InArray function for Javascript.
Array.prototype.InArray = function (input) { var i; for (i=0; i < this.length; i++) { if (this[i] === input) { return true; } } return false; };
You must be logged in to post a comment.
RT @CodeSnippetsNET: InArray function for #Javascript http://t.co/h65JQ1kjkm #js #php #css #html #programming #code #dev
RT @CodeSnippetsNET: InArray function for #Javascript http://t.co/h65JQ1kjkm #js #php #css #html #programming #code #dev
RT @CodeSnippetsNET: InArray function for #Javascript http://t.co/h65JQ1kjkm #js #php #css #html #programming #code #dev