$.inArray()
var array = ['a','ab','abc'];
$.inArray('abc',array);
Js This method is similar to the indexOf()
method, if there is an element of the array, the index of the element is returned, if not, it returns -1
$.inArray()
var array = ['a','ab','abc'];
$.inArray('abc',array);
Js This method is similar to the indexOf()
method, if there is an element of the array, the index of the element is returned, if not, it returns -1