var PaymentView = FormView.extend({ el: "#payment", events: { }, initialize: function(){ this.$form = this.$("form") this.$msg = this.$(".msg") this.address = new AddressView ({ parent: this }) this.cc = new CreditCardView ({ parent: this }) }, show: function(){ app.footer.show("SAVE", "CANCEL") document.body.className = "payment" }, save: function(){ }, })