Welcome Guest, Not a member yet? Register   Sign In
[newbie] function after anchor click
#1

[eluser]phusiondesign[/eluser]
Sorry for the hand holding... all of the ci fog hasn't cleared yet. Ok, I have this anchor which when clicked I want to perform a function then redirect to the url in the anchor. Example below...

Code:
anchor($ci->link_click($link->url,$link->id,$link->clicks),$link->title)

Now as you can probably tell, the 'link_click' function is executing when the page loads. How do I prevent this and make it so that it only executes when I click that anchor.

Thanks in advance.


Messages In This Thread
[newbie] function after anchor click - by El Forum - 02-20-2008, 09:21 PM
[newbie] function after anchor click - by El Forum - 02-20-2008, 09:33 PM
[newbie] function after anchor click - by El Forum - 02-20-2008, 10:15 PM
[newbie] function after anchor click - by El Forum - 02-20-2008, 10:23 PM
[newbie] function after anchor click - by El Forum - 02-20-2008, 10:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB