Re: How to introduce javascript

2002-08-19 02:29:56
Earl Hood wrote:

On August 13, 2002 at 12:29, Aumont wrote:

Is there any way to introduce a javascript into
some part of messages ?

Yes, but it does depend on exactly what you are trying to achieve.

I want to add a javascript
to ADRESS, so i try to use
M2H_ADDRESSMODIFYCODE environement variable but
unfortunitly, mhonarc encode "<" and ">" to &lt; and &gt;
which of course is great for html but not for javascript.

Is there a way to escape "<" from this encoding ?

ADDRESSMODIFYCODE applies the address text and is not intended
to be used to introduce markup.

What exactly are you trying to achieve?

I want to introduce emails  with the following javascript.

<SCRIPT language=JavaScript>
document.write(\"<A HREF=\" + \"mailto:\"; + \"$FROMADDRNAME$\" + \"@\" +
// --></SCRIPT>";

Serge Aumont        Comité Réseaux des Universités
                     Campus Beaulieu 
                     35042 Rennes Cedex

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>