html - How to add many functions in ONE ng-change? -


how add more 1 function in ng-change?

sample code:

<div class="col-md-2">     <select id="sel2" ng-model="updateuser.user.state" name="state"         ng-change="change(); updateuser.user.city=''"         data-role="listview" required>     <option value="">select state</option>     </select> </div> 

you can following

<div class="col-md-2"> <select id="sel2" ng-model="updateuser.user.state" name="state"     ng-change="change1(); change2(); updateuser.user.city=''"     data-role="listview" required> <option value="">select state</option> </select> 


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -