title: javascript getElementById and convert it to String
body: <p>is there a way to convert a javascript HTML object to a string?
  i.e.</p>
  
  <pre><code>var someElement = document.getElementById("id");
  var someElementToString = someElement.toString();
  </code></pre>
  
  <p>thanks a lot in advance</p>