Tuesday, 15 June 2010

jquery - Angular JS ng-change not triggered for select dropdown -


I angular facing a problem with the event of the dropdown changes in JS. The occurrence of NG-change is sometimes not removed.

  & lt; Tr ng-repeat = "item in item" & gt; & Lt; TD & gt; & Lt; Select id = "ABC" NG-model = "item." Value ng-change = "Change (P 1, P 2, {{items. Lang}})" NG-option = "val val option "& Gt; & Lt; / Select & gt; & Lt; / TD & gt; & Lt; / TR & gt;  

Can anyone misunderstand?

Thank you

Try It

  & Lt; Select id = "abc" ng- model = "item." Value ng-change = "Change (P 1, P 2, item. Length) val" to "NG-option val =" Options & gt;  

You do not need {{}} , because ng-change expects one expression.


No comments:

Post a Comment