On Thu, Jun 26, 2008 at 2:46 PM, Justin Perkins <[EMAIL PROTECTED]> wrote:
> This is typically achieved by adding an onStart() handler

onStart is nothing, I mean onLoading.

<form onsubmit="new Ajax.Request('/foo/bar', { onLoading:function(){
$('submit_button').disable(); } })">
...
<input type="submit" id="submit_button" value="submit" />
</form>

(untested)

-justin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to