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></cfcomponent>
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