I like to have a search function that is "SQL LIKE" type on the locations array.
I did one simple function using a loop, but it is an "exact phrase " search so one have to write
exactly the same as the value in the array for a hit.
I would like a more "blury search" that hits all containing that
search value..
for example search for
11111
will hit values
11111 A
11111 B
11111 C
Now one have to search 11111 A or no hit..
To make things more complicated the array is 3D like the "locations" /"markers" array in a google map usally have so I dont know how to write the command...
Baicly I would like to search thrue the arrays "third" index values, how do you
write that, obviously I can not write "i" like below..
alert($.inArray("myWord", locations[i][3]));
for a 2D on can write just
alert($.inArray("myWord", myArray));
In plain text I would like to search these values in the 3d
locations[1][3]
locations[2][3]
locations[3][3]
locations[4][3]
And "blury" mysearchval% type... if you are with me...
thanks//M