Greetings all, I created a form_remote_for form for some AJAX jobs and I would like the submit button to be disabled when you click the submit button and reenable it after the jobs are finished, so I add a :onclick => "document.getElementById(''addub'').disabled = true" for the submit_tag, but I found that this will break the other functions (the corresponding RJS file I''ve written for highlighting and reenable the button) in IE6. All are OK in Firefox, could anyone tell me how to archive this in both IE6 and Firefox? thanks very much! Cheers, Difei -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---