I have an input and a button
<input type="text" name="search_tags" id="search_tags" placeholder="Search by Tags" class="form-control" >
<button type="submit" class="btn btn-primary btn-lg" ng-click="searchTags()">Search</button>
How do I pass the text present in the input textbox to the searchTags() function after button ng-click?
Aucun commentaire:
Enregistrer un commentaire