ah, so you could do something like this...and this maybe off a little in
synatx....

<script>
   function sendDaData(obj)
   {
        document.sendform.name.value = obj.name;
        document.sendform.submit();
   }
</script>

<form name="sendform" action="foo.cfm" method="post">
   <input type="hidden" name="name">
</form>

<a name="test1" id="test1" href="template.cfm"
onclick="sendDaData(this)'">test1</a>


Doug
>-----Original Message-----
>From: FlashGuy [mailto:flashmx@;rogers.com]
>Sent: Monday, November 04, 2002 11:04 AM
>To: CF-Talk
>Subject: RE: Passing anchor results to a template
>
>
>The name
>
>On Mon, 4 Nov 2002 15:50:45 -0000, Adrian Lynch wrote:
>
>> What do you mean by "results of the anchor"? The name, the 
>href or the text
>> rapped in the tag?
>> 
>> -----Original Message-----
>> From: FlashGuy [mailto:flashmx@;rogers.com]
>> Sent: 04 November 2002 15:43
>> To: CF-Talk
>> Subject: Passing anchor results to a template
>> 
>> 
>> Hi,
>> 
>> How can I pass the results of the anchor based on which one 
>is clicked on to
>> another template? Do I need to use JS?
>> 
>> 
>> <a name="test1" id="test1" href="template.cfm">test1</a>
>> <a name="test2" id="test2" href="template.cfm">test2</a>
>> <a name="test3" id="test3" href="template.cfm">test3</a>
>> 
>> 
>> ---------------------------------------------------
>> Colonel Nathan R. Jessop
>> Commanding Officer
>> Marine Ground Forces
>> Guatanamo Bay, Cuba
>> ---------------------------------------------------
>> 
>> 
>> 
>> 
>> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to