Click here to Skip to main content
14,699,428 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new to knockout.js.


I am trying to bind a value in my viewmodel to the view as shown in the sample http://jsfiddle.net/Kavyashree/FENuV/[^]

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.
Posted

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



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