This question is locked. New answers and comments are not allowed.
Hello,
I see the autocomplete.focus() method to put the focus on the autocompletebox, but I can't find a way to remove focus from the autocompletebox. After a user selects an item from the dropdown list, the cursor still remains in the autocompletebox, blinking. I expected something like autocomplete.blur() to exists, but haven't found anything similar. Win 8 doesn't seem to think anything is in focus, so document.activeElement.blur() doesn't work, either. autocomplete.close() just removes the dropdown list. Is there anything built in to remove focus or reset the autocomplete box in order to remove the focus?
Thanks,
Nikhil
I see the autocomplete.focus() method to put the focus on the autocompletebox, but I can't find a way to remove focus from the autocompletebox. After a user selects an item from the dropdown list, the cursor still remains in the autocompletebox, blinking. I expected something like autocomplete.blur() to exists, but haven't found anything similar. Win 8 doesn't seem to think anything is in focus, so document.activeElement.blur() doesn't work, either. autocomplete.close() just removes the dropdown list. Is there anything built in to remove focus or reset the autocomplete box in order to remove the focus?
Thanks,
Nikhil