angularjs: $scope update when I change a select with jQuery

前端 未结 5 2010
感动是毒
感动是毒 2020-12-09 05:30

I\'m using a jQuery plugin to \'customize\' my selects.

This plugin fires the change event of the original select when some option is selected.

The problem i

5条回答
  •  不知归路
    2020-12-09 05:53

    It's best not to mix DOM manipulation with Angular. Try the following for your button HTML:

    
    
    
    

    I tried the above in your Plunker and it worked.

提交回复
热议问题