title: Get form data in ReactJS
body: <p>I have a simple form in my <code>render</code> function, like so:</p>
  
  <pre><code>render : function() {
        return (
          &lt;form&gt;
            &lt;input type="text" name="email" placeholder="Email" /&gt;
            &lt;input type="password" name="password" placeholder="Password" /&gt;
            &lt;button type="button" onClick={this.handleLogin}&gt;Login&lt;/button&gt;
          &lt;/form&gt;
        );
      },
  handleLogin: function() {
     //How to access email and password here ?
  }
  </code></pre>
  
  <p>What should I write in my <code>handleLogin: function() { ... }</code> to access <code>Email</code> and <code>Password</code> fields?</p>