You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eddie Bush <ek...@swbell.net> on 2002/09/05 22:12:34 UTC

[OT] JavaScript auto-submit form

Could any of you suggest a way for me to get Netscape/Mozilla to 
auto-submit a form via JavaScript?  I have two ways that work just fine 
under IE and Opera ... but, ... suffice it to say I'd like a 
cross-browser solution :-)

Things I have tried:
    * A JavaScript <script> block after the form that would invoke the 
forms submit method.
    * A function defined in the <head> that is invoked as the onload 
event for the body.

IE and Opera do fine either way.  Mozilla ... doesn't.  Suggestions 
(other than "don't support Mozilla!")?  How do you guys do auto-submit 
forms in Netscape/Mozilla?

Thanks!

Eddie



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>