title: Javascript document.getElementById("id").value returning null instead of empty string when the element is an empty text box
body: <p>I have a text box element whose value I am trying to access using <code>document.getElementById("id-name").value</code>. I find that the call is returning a null instead of empty string. The data-type of the returned value is still string. Is null a string value?</p>
  
  <p><code>&lt;input type="text" value="" id="mytext"&gt;</code> is the textbox whose value I am trying to fetch using <code>var mytextvalue = document.getElementById("mytext").value;</code></p>