title: when a lightbox form (using colorbox) closes refresh the page that was behind it
body: <p>So what I am trying to achieve is when the lightbox (using colorbox) closes the page that was behind it refreshes. (so the php variables will update)</p>
  
  <pre><code>  &lt;script&gt;
  if(parent.jQuery.colorbox.close()){
  window.refresh(); 
     }
    &lt;/script&gt;
  </code></pre>
  
  <p>Currently the lightbox closes but the page doesn't reload so the variables don't update :(</p>
  
  <p>any help would be great:) thank you in advance!</p>
  
  <p>Requested extra Code:)</p>
  
  <pre><code>    jQuery(document).ready(function () {
              jQuery('a.out').colorbox({iframe:true,opacity:0.5,scrolling:false,width:"400px",height:"300px",transition:"none"});
                onClosed: function() { location.reload(true); }
          });
  </code></pre>