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
Ref: @will824 Comment, This solution worked for me with no compatibility issues. Rest of solutions failed in IE9.
var input = $("#inputID"); var tmp = input.val(); input.focus().val("").blur().focus().val(tmp);
Tested and found working in:
Firefox 33 Chrome 34 Safari 5.1.7 IE 9