title: Open two windows onClick button javascript
body: <p>I am trying to open two different windows with the click of a button, but when i click the button it opens the same window twice. This is my function:</p>
  
  <pre><code>function flush(form) {
      var custid = form.custid.value;
      var url1 = "https://www.blabla.com?type=customer&amp;id="+custid;
      flushWindow1 = window.open(url1);
      var url2 = "https://web.blabla.com?type=customer&amp;id="+custid;
      flushWindow2 = window.open(url2);
  }  
  </code></pre>
  
  <p>Does anyone know how I can do this?</p>