2011/8/2 Robert Sirois <span dir="ltr">&lt;<a href="mailto:watchlala@hotmail.com">watchlala@hotmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div><div dir="ltr">
Are you trying to query the server for validation before submitting or have client-side javascript to the validation?</div></div></blockquote><div><br>The embarrassing truth is, that the computation for the resulting page takes a noticeable time. And I want to inform the user, that a) something is happening b) &quot;he shouldn&#39;t be pressing that button again&quot;(TM).<br>

I thought it would be good to replace the button with some of those spinning wheels you see elsewhere all over the place.<br>   <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div dir="ltr"><div>Here&#39;s some ideas:</div><div><br></div><div>#onClick: ((html jQuery: #submit) html: &#39;Processing&#39;).</div><div>#onClick: (html jQuery ajax callback: [ &quot;function&quot; ]; onSuccess: ((html jQuery: #form) html: &#39;Thank you!&#39;; addClass: &#39;ui-state-highlight&#39;).</div>

</div></div></blockquote><div><br> I tried some simpler form of your suggestion with no success, but I guess I could try this again.<br><br>Thanks,<br> Alex<br></div></div>