[Javascript] Re: anchors - passing values

phumes1 at home.com phumes1 at home.com
Thu Oct 4 06:30:54 CDT 2001


Hi,

How can I pass the value of the anchor that was clicked on to a variable?

For example, if "test3" was clicked I would want that file name (value) 
passed to "template.htm".

<a href="template.htm">test1</a>
<a href="template.htm">test2</a>
<a href="template.htm">test3</a>
<a href="template.htm">test4</a>




More information about the Javascript mailing list