54
rated 0 times
[
55]
[
1]
/ answers: 1 / hits: 35871
/ 11 Years ago, mon, july 22, 2013, 12:00:00
The two binding of AngularJS is not working on div. I want my div to be editable but it's not happening. Could anybody please suggest what could be wrong? The same binding works fine on textbox. This is my code:
<input type=text ng-model=userProfile.firstName/>
<div class=profile-name contenteditable=true ng-model=userProfile.firstName></div>
More From » jquery