You can always use JQuery.Form (http://malsup.com/jquery/form/) It removes the browser dependent stuff (i think it works identically in almost any browser), and because it's using the jquery programming style, it's irrelevant if it's plain html form or an struts form, as long as you know the id of the form in the resulting form. Give it a check, use the beforeSubmit function to disable the submit button, and the success to reactivate it. You may also use JQuery to do the disable/enable stuff in the button.
Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco S. On Tue, Dec 9, 2008 at 18:25, Dave Newton <[EMAIL PROTECTED]> wrote: > Heh. Hrmph. Works under Safari/OSX. > > Gives me the heebie jeebies. > > > --- On Tue, 12/9/08, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > >> From: Frank W. Zammetti <[EMAIL PROTECTED]> >> Subject: Re: [OT] Re: Displaying "Please Wait" message >> To: "Struts Users Mailing List" <user@struts.apache.org> >> Date: Tuesday, December 9, 2008, 7:21 PM >> That's exactly the behavior I expected... odd that I >> didn't see it (IE7 and FF3.0.4 on XP). I can buy >> it's browser-dependent, just odd to hear that FF3 would >> be different on OSX than on Windows. Oh well, that's >> just *MORE* support for the idea of not using >> document.write() after the page has loaded :) >> >> Frank >> > --- On Tue, 12/9/08, Frank W. Zammetti wrote: >> > >> >> [...] I actually expected the alert() to NOT work >> because I figured the document.write() call was overwriting >> your page, which would have made sense, but it appears >> document.write() actually appends to the document. I >> wouldn't swear to that, but that's what seems to be >> the case given my test. >> >> >> > >> > It's browser-dependent; on OSX/FF3 the form is >> gone after the document.write() (at least when Firebug is >> installed...) so I get an error. >> > >> > Dave >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> > >> > __________ Information from ESET Smart Security, >> version of virus signature database 3679 (20081209) >> __________ >> > >> > The message was checked by ESET Smart Security. >> > >> > http://www.eset.com >> > >> > >> > >> > >> > >> >> >> -- Frank W. Zammetti >> Author of "Practical Dojo Projects" >> and "Practical DWR 2 Projects" >> and "Practical JavaScript, DOM Scripting and Ajax >> Projects" >> and "Practical Ajax Projects With Java >> Technology" >> (For info: >> apress.com/book/search?searchterm=zammetti&act=search) >> My "look ma, I have a blog too!" blog: >> zammetti.com/blog >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]