title: AJAX post not working with HTTPS
body: <p>I am having a rather frustrating problem with the jquery post function that probably stems from not understanding how it works correctly.</p>
  
  <p>I have a function that should post some form information to a php script that I wrote and that script then runs curl requests against an API to get around the cross-domain policy of javascript. It seems to work fine as long as it submits to "http" but when I send it to "https" the form never gets submitted.</p>
  
  <p>I ran wireshark on my computer and it showed no traffic towards the destination ip until I made the url use http. I have basic auth on the server so I am passing the user and password through the url, but tested without that there and got the same results.</p>
  
  <p>Here is the not working code:</p>
  
  <pre><code>$j.post("https://&lt;api user&gt;:&lt;password&gt;@&lt;ip&gt;:444/ProxyScript.php", 
           $j("#spoke_ticket").serialize(),
           function(msg) { 
                log_status(msg);
                fade_status();
                $j(':input','#createtheticket')
                     .not(':button, :submit, :reset, :hidden')
                     .val('')
                     .removeAttr('checked')
                     .removeAttr('selected');
                 });
  </code></pre>
  
  <p>Here is the working function:</p>
  
  <pre><code>$j.post("http://&lt;other ip&gt;/ProxyScript.php",  
          $j("#spoke_ticket").serialize(),
          function(msg) { 
                log_status(msg);
                fade_status();
                $j(':input','#createtheticket')
                     .not(':button, :submit, :reset, :hidden')
                     .val('')
                     .removeAttr('checked')
                     .removeAttr('selected');
                 });
  </code></pre>
  
  <p>Any ideas as to why the traffic is not being sent?
  Let me know if I left out some key information or anything.</p>
  
  <p>Thanks for the help</p>