[Javascript] mailto in submit

Manuel Socarras Reyes msocarras at terra.es
Fri Mar 8 07:09:53 CST 2002


        Security

Submitting a form to a mailto: or news: URL requires the 
UniversalSendMail privilege. For information on security, see the 
Client-Side JavaScript Guide 
<http://developer.netscape.com/docs/manuals/js/client/jsguide/index.htm> 
(http://developer.netscape.com/docs/manuals/js/client/jsguide/index.htm)

-- 
Saludos,

Manuel Socarrás Reyes <msocarras at terra.es>
Barcelona. Spain


Felix wrote:

> here is my code
>
>  
>
> <HTML>
>
> ...
>
> <SCRIPT language=javascript>
>
> ...
>
>    document.FormulaireMail.submit();
>
> ...
>
> </SCRIPT>
>
> ...
>
> <BODY>
>
> <FORM ACTION="MAILTO:didier.mourgues at cnes.fr?subject=MAIL 
> <mailto:ACTION=%22MAILTO:didier.mourgues at cnes.fr?subject=MAIL> " 
> METHOD="POST" name="FormulaireMail" ENCTYPE="text/plain">
>
> ...
>
> </FORM>
>
> ...
>
> </BODY>
>
> </HTML>
>
>  
>
> Can somebody tell me why it works with MSIE but make nothing with 
> Netscape?
>
>  
>
> Thank you
>
> Felix
>







More information about the Javascript mailing list