title: 2 JavaScript events triggered sequentially - 2nd one ignored
body: <p>I have an input text box and a button on a page.
  have an onchange event on the text box and an onclick on the button. Each event triggers a totally separate unrelated method.</p>
  
  <p>The problem is as follows:
  if the user makes changes to the text box, then right away goes to click on the button - the onchange is triggered but I lose the onclick. 
  can I avoid this? I need both events to happen. 
  Thanks</p>
  
  <p>Updated:
  I tried a very simple test locally:</p>
  
  <pre><code>&lt;input type="text" onchange="alert1();"/&gt;
  &lt;input type="button" onclick="alert2();"/&gt;
  </code></pre>
  
  <p>where the js is :</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function alert1()
  {
  alert("1");
  }
  function alert2()
  {
  alert("2");
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>changing the text and right away clicking on the button only triggers the first event. Is there a way to force the second event to happen?</p>