I have a large word list. What would be the best way to search this list to see if the contents of an edit box msatches any words in the list.
I have tried adding the words to an array and searching
for (i=0;i<words.length;i++){
if(edit_box==words[i]){
edit_box2=OK}
else{edit_box2=not ok}
this doesnt work.
any help is aprieciated.