Not understanding jQuery and Server side events
<p>I'm having trouble since I'm a jQuery newbie.  Let's assume I have a asp.net application with an ImageButton to save some data.  I want to process this server side code, and if it is successful then I want to animate / toggle a panel that says success or not.</p>

<p>So for instance for an image button I have:</p>

<p><code>&lt;asp:ImageButton ID="ibSave" runat="server" ImageUrl="images/save.gif" ToolTip="Save any changes you have made." CausesValidation="False" /&gt;</code></p>

<p>Now I have server side code that does this:</p>

<pre><code> Protected Sub ibSave_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibSave.Click
        'first update the header, then 
        If IsCorrect() Then
            Save()
        Else
            'do not save
        End If
    End Sub
</code></pre>

<p>After immediately after this lets say if the save executed then I want using jquery to toggle some sort of image / panel that says it was succesful.  If the save didnt happen I want to toggle the panel to say it was not successful.</p>

<p>My issue is how do I call the jQuery function after the server side code has executed?   </p>
