title: Get input value in JavaScript without using jQuery?
body: <p>Let's say I have an input field like this: </p>
  
  <pre><code>&lt;input type="text" id="input" value="This is my value"&gt;
  </code></pre>
  
  <p>How can I get the attribute value? In jQuery, I can easily get it with:</p>
  
  <pre><code>$('#input').val() //-&gt; This is my value
  </code></pre>
  
  <p>How do I do so using pure JavaScript?</p>