title: Assign value of text input to variable
body: <p>When I run the program it sends <code>"great things happened"</code> to the azure table.</p>
  
  <p>What I want to do is create a text box on the user interface that will let the users enter the value to be sent to the azure table.</p>
  
  <p>I created a submit button but do not know how to link the button to the textbox.</p>
  
  <p>How do i submit the info to get it to my azure database?</p>
  
  <pre><code>var item = { text: "Great things happened!" };
  client.getTable("Item").insert(item);
  </code></pre>
  
  <p>This is what I have tried</p>
  
  <pre><code>var inputBox = document.getElementById('user-input');
  var item = { text: inputBox}; client.getTable("Item").insert(item);
  </code></pre>
  
  <p>With HTML</p>
  
  <pre><code>&lt;input id="user-input"&gt;
  </code></pre>