Hello,
I am new to meteor. I am stuck in a very simple thing. I want to assign some value to a textbox when a event change happens to a list of radio buttons.
My HTML code:
…
My JS Code:
Template.body.events({
‘change’: function (event) {
console.log(event.currentTarget.value);
}
});
Template.displaytext.helpers({
newValue: function() {
return “ghjghjgjk”;
}
});
…
I want to log the change function event to newValue function template name display text
Please help me!