mili
05-08-2003, 08:01 PM
I'm back again...running into tons of problems...all with JS!
I have a js that does pattern matching and pulls up the value based on the letters that I type in the list.Everything works well.But for a small problem :(
The selected option in my list is "select a choice". When I try to do pattern matching on "S", it doesnt do anything since "S" is contained in "select a choice".I want to skip the first choice in my option list and start matching from the second value onwards.How can I fix this in my for loop?
for(i=0; i < length; i++)
I have a js that does pattern matching and pulls up the value based on the letters that I type in the list.Everything works well.But for a small problem :(
The selected option in my list is "select a choice". When I try to do pattern matching on "S", it doesnt do anything since "S" is contained in "select a choice".I want to skip the first choice in my option list and start matching from the second value onwards.How can I fix this in my for loop?
for(i=0; i < length; i++)