title: ReactJS: how to trigger form submit event from another event
body: <p>I've two react events:  </p>
  
  <ol>
  <li><p>Form submit event</p>
  
  <pre><code>sendMessage: function(event){
      console.log(event);
      event.preventDefault();
  },
  </code></pre></li>
  <li><p>keyPress Event</p>
  
  <pre><code>textareaKeypress: function(event){
      if (event.which == 13 &amp;&amp; !event.shiftKey){
          document.getElementById('messagebox').submit();
      }
  },
  </code></pre></li>
  </ol>
  
  <p>but the reactJS is not capturing the form submit triggered by <code>textareaKeypress</code>. How can I call the <code>sendMessage</code> from <code>textareaKeypress</code> with proper event?</p>