I am using ionic 1. In that i have one screen with two input fields. So whenever user come to that screen. My very first input field should automatically trigger and user have to type the value.
means that ...! When ever user come to my screen , it force user or automatically that blinking cursor should show in my first input fiels to enter value.
How can i achieve that ?
here my code :
<div class="col-sm-8" style="border: 0.01px #696969 solid;
border-radius: 7px;margin-right: 16px;">
<input type="text" id="origin" placeholder="Type Your Location" class="form-control" ng-model="directions.origin" />
</div>
Thanks in advance !1