JakeRather
New Member
Pure jQuery version:\[code\]$('select#register-type').live('change', function () { console.log($(this).val());});\[/code\]Backbone view delegate event version:\[code\]App.Views.register = new (Backbone.View.extend({ tagName: 'section', id: 'content', template: _.template($('script.register').html()), render: function () { this.$el.html(this.template); return this; }, events: { 'change select#register-type': 'type' }, type: function (event) { // i want to console.log the current option selected... }}));\[/code\]How can I achieve that? It seems i cant use $(this) like the jquery version, and this is referred to the register view object...