jsoup get value of elemtn code example
Example: javascript ng-change get previous value
//user.id passed to updateValue will be old value
<select ng-change="updateValue('{{user.id}}')"
ng-model="user.id" ng-options="user.id as user.name for user in users">
</select>