Learning Knockout.JS: Updating the Model from the View and Vice Versa | packtpub.com

Published: 01 September 2015
on channel: Packt
4,092
15

Part of 'Learning Knockout.JS' video series. For full Course visit:
http://bit.ly/1JzfLoa

We will take a closer look at how to update the View Model from an HTML form element as well as populate an HTML form element with data from the View Model.
• Add a new HTML page, data-binding.html, and a JavaScript View Model to the project
• Create an HTML "input" element and use Knockout’s data-binding syntax—both "value" and "textInput"—to bind to a View Model property and show the output
• Insert code for "button." Bind a View Model function to retrieve data and populate the 'input' element in the View


For the latest web development video tutorials, please visit
http://bit.ly/1KYwKQ5


Find us on Facebook --   / packtvideo  
Follow us on Twitter -   / packtvideo