[removed] How to iterate through list of objects in Model

前端 未结 4 1050
清酒与你
清酒与你 2021-02-14 10:48

so I need to get to fetch the names of students in a list of student object that is in a view\'s model then send them to the server via $.post, the latter I have figured it out

4条回答
  •  耶瑟儿~
    2021-02-14 11:40

    for (var i = 0; i < length; i++) 
    

    instead of

    for (int i = 0; i < length; i++) 
    

    should work.

提交回复
热议问题