阅读背景:

在javascript中声明动态淘汰可观察

来源:互联网 

I am implementing knockout with asp.net mvc where i have a viewmodel in asp.net mvc. I have a list of array generated using server side based on the value of property name of each class in asp.net mvc view model. eg: Array[] propertyName = { name1, name2, name3 }. Now i need to make all this property Name observable as follow. I could type it 1 by 1 in javascript, but the problem is it should be dynamic according to property available in view model defined in asp.net mvc. Now i am hardcodng name1, name2, name3 buy i do not know how to make it dynamic according to the array return from server.I am implementing knockout with asp.net mvc whe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: