title: How can I retrieve and display slider range value?
body: <p>How can I retrieve and display the slider value from the input range?</p>
  
  <p>I am using Meteor and prefer javascript code.</p>
  
  <pre><code>  &lt;input id="slider" type="range" min="50" max="100" step="10" oninput="sliderChange(this.value)"&gt;
  
    &lt;output id="sliderVal"&gt; &lt;/output&gt;
  </code></pre>
  
  <p>javascript;</p>
  
  <pre><code>function sliderChange(val) {
  document.getElementById('sliderVal').innerHTML = val;
  }
  </code></pre>