I'm new to Angular. I've got an Angular js form that has rendered and works 
properly (updates, etc). I have a scenario where I want to populate form 
values based on user action. So if the user takes a certain action, a value 
in a dropdown box, checkbox, input, etc, is set in a certain way. I can get 
everything working except the last step. 

>From javascript, how do I update the data displayed on the form? 

I've gone so far as to use document.getElementById('123').value = 'my new 
default' and although that works for plain text input fields, it doesn't 
change things like select dropdown boxes. They accept the new value, but 
still display a blank value. Is there any easy way to do this through the 
Angular framework?  


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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to