$.inArray
$.inArray
should the inArray function change to be consistent with different browsers?
for example shouldn't we change
- return array.indexOf( elem );
to something similar to
- var ret = array.indexOf( elem );
- return (ret==undefined)?-1:ret;
or even add a check if ret isNAN ?