Posts by Leandro Gomes • 1 point
1 post
-
0
votes5
answers14567
viewsA: How to access index from a javascript array
The method jQuery.inArray(<chave>, <array>); returns the index of the element if it is found in the array passed, if it does not find it will return -1;