Get the value of input type=range and display the value - live


#1

I want to show the value of my range element and update it (live) when the control is moved.

I tried this:

Template.price.events({
  'change input[type="range"]': function(e,t) {
    console.log(e.target);
  }
});

But you only get the updated value once you let go of the control (mouseup).

Any ideas on how to do it so that the value is updated ‘live’ to the control movement?