What would be the jquery equivalent for list.detect in prototype?
+3
A:
Returns the index of the first element with "value":
jQuery.inArray(value, array);
Tautologistics
2008-12-27 19:09:20