Geertjan's Blog

  • January 17, 2015

Knockout.js in 2 Minutes (Part 3)

Geertjan Wielenga
Product Manager

Instead of hardcoding the values, let's read them from a JSON file, "courses.json", which I have in the same folder as the "index.html" file:

"name": "John",
"courses": [{"title":"History"},{"title":"Geography"}]
"name": "Bob",
"courses": [{"title":"Science"}]
"name": "Susan",
"courses": [{"title":"Math"},{"title":"English"}]




Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.