Hi folks
Does anyone know to trigger a coldfusion function from within <a
href=""></a> ?
What I have at the moment is a simple test script, but all this does
is display "hello" when the page has loaded and not when the link has
been clicked:
<cfscript>
function test() {
writeOutput("hello");
}
writeOutput("<a href='##' onClick='#test()#'>click here</a>");
</cfscript>
What I want to create is a simple link on a page which triggers a
coldfusion function. This all has to happen within the same page as
the client dosnt want to jump from page to page.
Im new to coldfusion components and stuff, not sure if they are they
way to achieve the results I need.
Any help much appreciated
Thanks
B
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---