I am using Knockout.js to populate a set of HTML5 <details> elements. Here is the structure: The data in the ViewModel looks something like this: I want to add the ability to remember the open or closed state of the details view. I have implemented this behavior previously using jQuery and localStorage1, but for this project I want to use
Tag: knockout.js
Knockout dropdownlist databind is not working in ajax call
I try to bind a dropdownlist in knockout with MVC 4. Here is my code: Action Knockout.js Html But the GetUserTypes action is not fired. And there is another error show in the Firebug. Answer Your action GetUserTypes doesn’t expected any parameters, but you pass viewModel object: Try to remove this property from ajax call. About error in FireBug, just