The last example of jQuery\'s focus() documentation states
$(\'#id\').focus()
should make the input focused (active). I can\'t seem to get
For my case I had to specify a tab index (-1 if only focusable via script)
-1