Focus on other input after typeahead-on-select angular-ui-bootstrap
问题 I have a problem with angular-ui bootstrap: I have 2 input: <input type="text" ng-model="selected" uib-typeahead="state for state in states | filter:$viewValue | limitTo:8" typeahead-on-select="focusSuccessive($item, $model, $label, $event)" class="form-control"> <textarea class="form-control" id="message" rows="10" data-ng-model="caller.data.text" tabindex="25"></textarea> And in my controller I have a function focusSuccessive($item, $model, $label, $event)" that should focus textArea after