KnockoutJS, updating ViewModel after ajax call

前端 未结 2 1410
[愿得一人]
[愿得一人] 2021-01-31 23:04

I am using Knockout and the Knockout Mapping plugin.

  • My MVC3 Action returns a View and not JSON directly as such I convert my Model into JSON.
  • This is a d
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 23:42

    I guess Response is reserved, when I change "Response" to "resp", everything went fine. See http://jsfiddle.net/BBzVm/

提交回复
热议问题