Answer the question
In order to leave comments, you need to log in
How to collect all fields in angular.js?
Let me know who is facing it.
I understand angular.js, before that I only worked with jquery.
The essence is this: there is a block in which there are 2 selects and 3 checkboxes. When changing any input (be it a select, or a checker), an Ajax request with these parameters should leave.
I rendered the elements like this:
<select name="inspection" ng-change="change()" ng-model="formData.inspection">
<input type="checkbox"
ng-model="formData.power1"
ng-change="change()"
ng-true-value={{ p.pk }}
ng-checked="true"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question