我有一个div定义为
<div ng-repeat="mine in me2">
<div ng-show="dataon">
<autocomplete attr-input-id="myid" attr-placeholder="{{placeholder}}" ng-model="dataloc"
data="data" on-type="getLocations" click-activation="true" ng-click=getLocations()
on-select="selectedLocationSpecials"></autocomplete>
</div>
</div>
当我在一个函数中调用它时, $('#myid')
无效。