title: Javascript, viewing [object HTMLInputElement]
body: <p>I'm just started to learn HTML. Doing an <code>alert()</code> on one of my variables gives me this result <code>[object HTMLInputElement]</code>.</p>
  
  <p>How to get the data, that were  added in text field, where my input type is text?</p>