Click here to Skip to main content
15,947,958 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am new to knockout.js.

I am trying to bind a value in my viewmodel to the view as shown in the sample[^]

The value gets updated on click of the search button. The binding is done twice. How can i change the code to update the view and see to it that the binding is done only at the start? Subsequent changes to the view model property should update the value in the view.

Thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900