title: JavaScript action inside HTML5 oninput attribute?
body: <p>I have been learning HTML5. One of the examples I have encountered uses an input element of type range and an output element (this example currently only works in Chrome, Safari and Opera).  The following form produces a slider with the result echoed to the output element.</p>
  
  <pre><code>&lt;form&gt;
     &lt;p&gt;
        &lt;input type="range" id="slideValue" value="50" 
            oninput="slideCurrent.value = parseInt (slideValue.value);" /&gt;
        &lt;output id="slideCurrent"&gt;50&lt;/output&gt;
     &lt;/p&gt;
     &lt;input type="submit" value="Send"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My question concerns the oninput attribute.  The oninput attribute contains JavaScript.  In pre-HTML5 JavaScript I commonly see JavaScript references to <em>this.value</em>.  However in the above HTML5 example the references to <strong>slideCurrent</strong> and <strong>slideValue</strong> work (apparently <strong>without the need to use <em>getElementById</em></strong>).  I believe this is a new way for JavaScript to behave.</p>
  
  <p>Is this new JavaScript method of action documented somewhere?</p>