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