title: Chrome popup window not working (works in IE)
body: <p>I have following code for a popup window: </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function post_to_url(path, params, method) {
      popup = window.open("", "Chat", "scrollbars=no ,resizable=yes");
      method = method || "post"; // Set method to post by default if not specified.
  
      // The rest of this code assumes you are not using a library.
      // It can be made less wordy if you use one.
      var form = popup.document.createElement("form");
      form.setAttribute("method", method);
      form.setAttribute("action", path);
  
      for (var key in params) {
          if (params.hasOwnProperty(key)) {
              var hiddenField = popup.document.createElement("input");
              hiddenField.setAttribute("type", "hidden");
              hiddenField.setAttribute("name", key);
              hiddenField.setAttribute("value", params[key]);
  
              form.appendChild(hiddenField);
          }
      }
  
      popup.document.body.appendChild(form);
      form.submit();
  }
  
  function login_to_chat() {
      var path = "/resources/livehelperchat/lhc_web/index.php/site_admin/chat/chattabs/";
      var params = {
          'lhc_user': '&lt;?=$_SESSION['
          lhc_user '];?&gt;',
          'lhc_password': '&lt;?=$_SESSION['
          lhc_password '];?&gt;'
      };
      post_to_url(path, params, "POST");
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>I have a link to open this popup window and call login_to_Chat():</p>
  
  <pre><code>&lt;a href="javascript:login_to_chat();" title=""&gt;Support Chat&lt;/a&gt;
  </code></pre>
  
  <p>IN IE it works fine - window shows up and the page to which I post loads correctly. 
  It does not work in Chrome - popup window shows up, but nothing gets loaded. </p>
  
  <p>Any suggestions? </p>