title: How to pass AJAX POST data to jQUery ColorBox?
body: <p>I have gone through various threads on this but I could not get a satisfactory solution to pass form data using POST method to jQuery colorbox plug-in while iframe attribute is set to true. I'm able to pass data using query string but my requirement is pass data using POST method from the linked window and capture it in colorbox and take further action. I tried it in various ways and following is one of the ways:</p>
  
  <pre><code>$.colorbox({
       closeButton:true, 
       open:true, 
       iframe:true, 
       href:"/python/try_python.php", 
       type:"POST", 
       data:{'code[]':[src]}, 
       opacity:.45, 
       width:"960", height:"600"
  });
  </code></pre>
  
  <p>I know there are plenty of jQuery legends who can suggest a way around. Kindly help.</p>
  
  <p>Regards
  Mohtashim</p>