mercredi 18 février 2015

search words from paragraph to compare with word table present in database using javascript


I have a dynamic table which contains words. These words are coming from a database via a query "select from database" and that list of words is ordered by date they were submitted. There is also a <textarea> for user input. I want the user to be able to select the words only in their actual sequence. example:


table of word:


walk


mouse


black


etc


user can't use word "mouse" before using "walk" and so for the rest, and an used word should be highlighted. Can anyone advise?





Aucun commentaire:

Enregistrer un commentaire