title: Reset input value after alert - Javascript
body: <p>I have a simple input box where if the number is higher than 2, a popup message will appear.</p>
  
  <p>Here is the code I am using, however I already have an <code>onkeyup</code> command on the input for something else, so I hope that won't be a problem</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input id="jj_input23" type="text" value='' onkeyup='changeTransform()' /&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>if(jj_input23 &gt; 2) {
      alert("Making the scale higher than 2 will make the preview too big");
      document.getElementById('jj_input23').value("");
  }
  </code></pre>
  
  <p>After the aler message has been displayed, and the user has clicked "Ok", I want the input text to reset. How can I do this?</p>
  
  <p>Thanks in advance</p>