sohairzaki2005
asked on
call a coldfusion function using jquery
I have a cfm file that has a url that directs the page to another cfm page
I would like on clicking the url to call a coldfusion function befor going to the next page
example
I have a component mycomponent
<cfcomponent>
<cffunction name="increaseviews">.
<cfargument arg1..>
...</cffunction></cfcompon ent>
I have a cfm
mypage.cfm
<a href="mysecondpage.cfm">go to second page</a>
secondpage.cfm
I am the second page
I want the user on clicking on the url the jquery will call the function increaseviews then go to secondpage.cfm
Thanks in advance
I would like on clicking the url to call a coldfusion function befor going to the next page
example
I have a component mycomponent
<cfcomponent>
<cffunction name="increaseviews">.
<cfargument arg1..>
...</cffunction></cfcompon
I have a cfm
mypage.cfm
<a href="mysecondpage.cfm">go
secondpage.cfm
I am the second page
I want the user on clicking on the url the jquery will call the function increaseviews then go to secondpage.cfm
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.