jquery stop element from hiding on click
<p>I have a simple function that inserts an animated "working" image, and then display "done!" after the POST is completed. However, I want this to occur in multiple places at once.</p>

<p>Example at: <a href="http://veretekk.com/developer/temp/" rel="nofollow">http://veretekk.com/developer/temp/</a></p>

<p>More detail is outlined at the page above, but basically the #dialog element is hiding when the button contained inside it is clicked. Also... the reason the jquery uses <code>.on</code> rather than <code>$(document).ready(function() {</code> is that this content can appear on my site after the DOM is loaded and thus needs to be available at all times. Help!</p>
