Difference between revisions of "Javascript Auto-complete"

From Level Access Web Labs
Jump to navigation Jump to search
Line 71: Line 71:
 
txtList.getElementsByTagName("a")[0].focus();
 
txtList.getElementsByTagName("a")[0].focus();
 
}
 
}
+
//wiki does not like this ampersand symbol for and. This is a problem as it needs to be there...
 +
 
 
else if ((e.which !=9) && (e.which !=18)){
 
else if ((e.which !=9) && (e.which !=18)){
 
clearList();
 
clearList();

Revision as of 15:09, 4 April 2014

Autocomplete using plain javascript