Top "Knockout.js" questions

Knockout.

Knockout validation

I have asp.net mvc3 project where I do a bulk edit on a table with knockout binding. I want …

knockout.js validation knockout-validation
Close Bootstrap Dropdown after link click

I have a bootstrap dropdown menu below. It has a link in it hooked up to a knockout.js binding, …

javascript twitter-bootstrap drop-down-menu knockout.js event-propagation
How to use knockout.js with ASP.NET MVC ViewModels?

Bounty It's been awhile and I still have a couple outstanding questions. I hope by adding a bounty maybe these …

asp.net-mvc asp.net-mvc-3 knockout.js
Getting "The JSON request was too large to be deserialized"

I'm getting this Error: The JSON request was too large to be deserialized. Here's a scenario where this occurs. I …

asp.net-mvc knockout.js
KnockOutJS - Multiple ViewModels in a single View

I'm thinking that my application is getting quite large now, too large to handle each View with a single ViewModel. …

mvvm knockout.js data-binding knockout-mapping-plugin
How to template If-Else structures in data-bound views?

I constantly find myself using this idiom in KO-based HTML templates: <!-- ko if: isEdit --> <td&…

javascript knockout.js
KnockoutJS binding when source is null/undefined

Is there a shorter/cleaner way to do the null/undefined testing? <select data-bind="options: SelectedBusinessLine() ? SelectedBusinessLine().Clusters() : [], optionsText: …

binding knockout.js
How can I get Knockout JS to data-bind on keypress instead of lost-focus?

This example of knockout js works so when you edit a field and press TAB, the viewmodel data and hence …

javascript knockout.js
How to conditionally push an item in an observable array?

I would like to push a new item onto an observableArray, but only if the item is not already present. …

knockout.js
Knockout template using data-bind to image src property not working

I cannot see what is wrong here but the image does not display using the following Knockout template: <script …

data-binding knockout.js knockout-templating