$(function(){
window.Placements = Backbone.View.extend({
el: $("#app"),
events: {
"submit form": "updatePlacement"
},
updatePlacement: function(e) {
e.preventDefault();
alert('foo');
}
});
window.App = new Placements;
})
Running results in:
TypeError: Result of expression '$(this.el).delegate' [undefined] is not a function.