Hi, Sander, thank you very much. I have been troubled by this problem for a long time. Your solution helps me a lot ! It works ! ------------------- Erichain [email protected] -------------------
> 在 2016年3月29日,18:04,Sander Elias <[email protected]> 写道: > > Hi Erichain, > > You are making it way more complex as it needs to be. In angular, the DOM > follows the data. If you have the need to read data back out of the DOM, you > probably doing something that can be solved easier or more efficient. > I took your pen, and worked it around > <http://codepen.io/SanderElias/pen/GZvpJd?editors=1010> so it used an more > "angular" way of working. > > I hope this helps you a bit, > Regards > Sander > > -- > You received this message because you are subscribed to a topic in the Google > Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/ObW4ar0YUms/unsubscribe > <https://groups.google.com/d/topic/angular/ObW4ar0YUms/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/angular > <https://groups.google.com/group/angular>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
