I know that Meteor supports events and I have seen it in action on checkboxes, but I just wanted someone to be able clarify if we can hook change events in meteor on select dropdowns as like the following
Template.templateName.events({
'change select': function(e,t){
// do whatever.......
}
});
I am trying to do this using Meteor and it doesn't seem to be firing when I change the value in the select box. However when I use jQuery to change things then it works fine.
Your code should work, it works fine for me.
Though I think events only take one eventMap-argument, not two. What would the "t" argument be?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With