AngularJS - Watch the creation of an input element -
i working on making repatcha (www.google.com/recaptcha) work angularjs.
i running problem. every time refresh button clicked, new image appears destroy recreate new 1 new key.
my problem listening input ng-model add (thanks thread , jason) because element destroyed, watch not work.
ideas :
- listen creation of child of element
- have field updated number of children element has , watch it's value.
other suggestions welcome.
thanks
in case looking, solution worked me : http://www.brandonturner.net/blog/2009/02/reload_recaptcha_with_error/
i still can't find how watch new created child (unless used livequery time consuming) hack above works recaptcha.
the other solution delay whatever had second image loaded not "safe" so.
Comments
Post a Comment