SyntaxFix
Write A Post
Hire A Developer
Questions
Looks like clearing the value after focusing and then resetting works.
input.focus(); var tmpStr = input.val(); input.val(''); input.val(tmpStr);