title: Trying to replace some javascript on a website with a message
body: <p>I'm trying to replace some javascript on a website, below is the code i would like to change:</p>
  <pre><code>function() {ActionButtonClick(ShipmentEntryAction.ProcessAndPrint);}}
  </code></pre>
  <p>I would like to check if a textbox is filled or else give the message Empty!.</p>
  <p>This is my code so far but i'm a beginner in javascript, maybe someone can help me?</p>
  <pre><code>function() {ActionButtonClick var tracking=document.getElementById(&quot;Tracking1&quot;).value; if (tracking==&quot;&quot;){alert(&quot;empty!&quot;);}else{(ShipmentEntryAction.ProcessAndPrint);}}
  </code></pre>
  <p>Thanks!</p>