Closed CyCJIeHok closed 8 years ago
Hi,
Not as far as I am aware. If you're using Backbone and already have a form, you probably just want to bind change events to the input(s).
So something like this:
Then bind events as normal:
var myView = Backbone.View.extend({
events: {
'change input': 'inputHandler'
},
inputHandler: function(e) {
//handle events here:
},
render: function() {
//stackoverflow stuff
}
});
Hi. I have rendered DOM element I can somehow bind it to the form? Backbone.Form to monitors changes in the element.