Hello,
I am following this series
http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/
and everything ws fine when was working with just javascrtript and html.
But now I want to put it together with php fraework and I cannnot get it to work.
It does not draw select box first of all. And does not draw contacts. Maybe if I would get the idea why it is not drawing select box, then I would undestand other things.
I commented out the code to figure out in which place things stop working.
js
http://pastebin.com/VLUdrJUE
html
http://pastebin.com/PNRKcbTD
I tried even this:
$('#filter').html('sasd');
this.$el.find("#filter").append('why this does not work?????');
but does not show any changes. But when I console.log that element it is found. So element selected but does not show any text/html. Why is this?