I have something like this:
events: {
"change .name": "dosomething"
},
dosomething: function() {
console.log("Hi.");
}
and in my HTML:
<input class="name" type="text"></input>
But doesn't seem to work.
I have something like this:
events: {
"change .name": "dosomething"
},
dosomething: function() {
console.log("Hi.");
}
and in my HTML:
<input class="name" type="text"></input>
But doesn't seem to work.