I’ve been learning backbone.js and put up some code together finally. Everything is on a fiddle here.
The problem precisely is, I think with the events. They aren’t triggering the view functions on click.
How to make it work? Am I missing any ‘gotchas’?
You need to define the container of the view by setting the
elproperty, then it works as expected.Updated Fiddle: http://jsfiddle.net/fAB28/1/