The last example of jQuery\'s focus() documentation states
$(\'#id\').focus()
should make the input focused (active). I can\'t seem to get
Make sure the element and its parents are visible. You cannot use focus on hidden elements