jquery.inarray in jquery code example Example: jquery in array function isInArray(value, array) { return array.indexOf(value) > -1; }