I have a model-bound form: a custom form, which is represented by Backbone.View.extend, which has:
model:user
inside view:
events: {
'click #payment' : 'updatePayment'
}
where payment is html selection using:
<div class="span2" id="payment">
<select class="span12">
<option value="paypal">paypal</option>
<option value="check">check</option>
</select>
</div>
updatePayment: function() {
var payment = this.$("#payment");
console.log(payment);
}
A sad payment does not matter. Can someone help? Thank!
source
share