title: How to display an alert only once when user click anywhere
body: <p>I am using javascript and I need to display an alert only once when the user click anywhere in the site. But make sure it will not pop up everytime the user click anywhere. </p>
  
  <p>Im not professional but I need this code to embed in my e-commerce site. I have tried a regular onload alert. but it will show once the page is loaded. then i tried this automatic code:</p>
  
  <pre><code>&lt;/html&gt;
  &lt;head&gt;
  &lt;script language="JavaScript"&gt;
  &lt;!--
  
  document.onclick = myClickHandler;
  
  
  function myClickHandler() {
    alert("All orders require minimum two weeks notice due to the nature of event and   wedding products");
  }
  --&gt;
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
     &lt;/html&gt;
  </code></pre>
  
  <p>and works, but every time I click appear and that is annoying. I need a onclick event, anywhere in the page... to display an alert only once. to advise the user about important info.</p>
  
  <p>Desperatly need some solution. Thanks  </p>