[Javascript] mailto in submit

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Fri Mar 8 07:35:49 CST 2002


Try
<SCRIPT language=javascript>
function MySub(){
   document.FormulaireMail.submit();
}
</SCRIPT>
 
Then call with onload:
 
<BODY onload="MySub()">
 
It may be that the form has not been rendered yet. 
 
But why have a page that automatically fires a mailto: pop up? And using
mailto: you are assuming that the visitor has and email client configured in
their browser.
 
 
Just a thought.

Bob Filipiak 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020308/764e333c/attachment.htm>


More information about the Javascript mailing list