This question has been asked in a few different formats but I can\'t get any of the answers to work in my scenario.
I am using jQuery to implement command history wh
Looks like clearing the value after focusing and then resetting works.
input.focus(); var tmpStr = input.val(); input.val(''); input.val(tmpStr);