jQuery.inArray() - eclipse tells me this function is not defined
- by Ankur
I have used the jQuery inArray function, but Eclipse tells me that this function is undefined. I don't understand how this can be so if it comes from the jQuery API.
preId is an integer, and queryPreds is an array.
if($.inArray(preId, queryPreds) != -1){
// code in here
}