simple jquery event handler
<p>having some real problems with jquery at the moment. Basically what I have so far is. The form is submitted once the form is submitted a grey box pop's up with the relevant infomation.</p>

<p>What I need to do though is refresh the whole page then allow the grey box to appear.</p>

<p>I have the following code</p>

<pre><code> $("#ex1Act").submit(function() {
        //$('#example1').load('index.php', function()                                 
        $("#example1").gbxShow();
        return true;
      });
</code></pre>

<p>the line which is commented out load's the page again after the form is submitted the other code makes the grey box pop-up.</p>

<p>Is their a way to say once the:</p>

<pre><code>$('#example1').load('index.php', function() 
</code></pre>

<p>has been exucted do this:</p>

<pre><code> $("#example1").gbxShow();
</code></pre>

<p>hope this makes sense.</p>
