Search Array for matching strings.
Hi, I have the following:
ad=new Array('a','b','c','a','d','e','a');
I want to return the index of the letter 'a'. Using inArray I only get the index of the first 'a', is there a way you can return all the values without looping through with a for next loop?
Thanks.