Hello. I have an odd problem that I can't seem to resolve. I use struts along with JSP to call Java Servlets on the back end. Some back end calls take a little while when used by the WEB users so I've been asked to put up a message that tells the users to "Please Wait" so that they don't press the Submit button multiple times. So what I ended up doing was calling a Javascript function from within the onclick() event of the Submit button. And here are the contents of the function:
function splashScreen() { document.write("<p style='color:black;background-color:aqua;text-align:center;margin:25% 25% 10% 25%;border: medium double black;'>Processing Data.<br>Please Wait.</p>"); document.forms[0].submit(); return true; } However the problem is that after the document write is executed the processing stops. All attempts of doing the submit() from Javascript also does not work as it gives some sort of permission violation. Does anyone have any suggestions? Thank you in advance. Rudy -- View this message in context: http://www.nabble.com/Displaying-%22Please-Wait%22-message-tp20925275p20925275.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]