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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -