Reputation: 4150
I need to get the value of a checkbox inside an handler event called by .on event binded on itself.
$("#mytweetswitch").on('change',this.checkTweets);
checkTweets: function(){
//here I need to get isChecked of #mytweetswitch
},
Upvotes: 0
Views: 62