search

Home  >  Q&A  >  body text

angular.js - How angularjs dynamically changes the ng-model value, obtains the value entered in the input in the controller and combines the post to send to the background

Use angularjs to process the values ​​entered in the input and combine them to pass to the background. The number of input boxes is also dynamically obtained from the background

Do you have any methods or ideas?

为情所困为情所困2782 days ago646

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-05-15 17:06:49

    ng-model two-way data binding
    $watch monitors value changes

    It is recommended to read more documents

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-15 17:06:49

    ng-model two-way data binding
    $watch monitors value changes

    It is recommended to read more documents

    reply
    0
  • 迷茫

    迷茫2017-05-15 17:06:49

    My approach is to process the data obtained in the background, add an item to each set of data in ng-repeat, and use it to loop for data binding, so that I can obtain the key-value pair corresponding to each item and encapsulate it

    reply
    0
  • Cancelreply