A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Some useful Knockout.JS examples from my JSFiddle

I am learning Knockout.js

Accessing an observable array outside the foreach loop from the HTML
http://jsfiddle.net/wenbert/MEKLN/

Setting a default / selected option in a Select box
http://jsfiddle.net/wenbert/ZpGeS/

Working with child models
http://jsfiddle.net/wenbert/Ev8H6/

Thanks to the guys at Stackoverflow and #javascript in Freenode for replying to my questions. RP Niemeyer from Knockmeout.net, nemesv and tyrsius.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>