I have a render method in Backbone that goes basically like this:
render: function () { $.tmpl(this.template, attrs).appendTo(this.el); return this; },
Beter do it this way:
action: function () { var container = $('#container'); container.empty(); myView.render(container); }, render: function (container) { $(this.el) .append($.tmpl(this.template, attrs)) .appendTo(container); $('label', this.el).inFieldLabels(); return this; },