title: How to alert input value
body: <p>So I recently decided to try learning app development with Intel XDK, and as of now I know only little bit of HTML.</p>
  
  <p>I'm trying to create a basic test app that allows the user to type a message in a text box, and then click the submit button which gives an alert that displays the inputted text.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>Message:
  &lt;br&gt;
  &lt;input type="text" id="message" value=""&gt;
  &lt;br&gt;
  &lt;button type="button" value="document.getElementByID(message)" onclick=alert(message)&gt;Generate Text&lt;/button&gt;
  </code></pre>
  
  <p>But when I run the app it displays <code>[object HTMLInputElement]</code>.</p>
  
  <p>How can I fix this?</p>