Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The following line of code is from my pop up partial view.
HTML
<input type="text" id="SolutionName" class="form-control" placeholder="" size="12" data-bind="value:name, valueUpdate:'afterSave' "/>

I want my view model to be updated after I clicked save button.
currently I'm seeing the changes on my other view as I type.here is my code from my other view
HTML
<a href="#" data-bind="click: function (solution) { app.home().solution().clickSolutionName(solution); }, text: name></a>


Thank you.
Posted
Updated 20-Jan-15 0:09am
v3

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