title: How to generate popup after ajax call
body: <p>I want to generate a popup after an ajax call. My current code (below) creates a new tab and not alert box.</p>
  
  <pre><code>$.ajax
  ({
      type: "POST",
      url: "addDayData.php",
      data: TblData,
      async: false,
      success: function (data) {
          window.open("addnewexcursion.php");
      }
  });
  </code></pre>
  
  <p>What should I change to allow the new content to appear in a popup rather than a new tab?</p>