ive got a text input through which someone can start typing, and then under the list it will be filled in according to what matches your input.
1) Currently im using this to check for 'contains':
if(listToRedo[i].value.indexOf(text) != -1){
but the problem is that it seems to be case sensitive, how can I change this?
2) Do onkeyevent, onkeypress, onkeydown do the key removal action? In addition, which one is best used for this activity.
source
share