Sunday, December 11, 2016

AngularJS - update ng-model from jQuery on input box

If you change input field's value using jQuery, and your ng-model is not my being updated, you should add jQuery("selector").trigger("input").

Triggering input event will update ng-model.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...