Welcome Guest, Not a member yet? Register   Sign In
Anchor and Javascript
#11

[eluser]redlogic[/eluser]
Thanks for the responses, both were very useful. I couldn't get the js function to wrap the href url, so went with just using onclick.

This is what I ended up with:

Code:
<?php echo anchor('site_add_client', 'Clients', array('onclick' => "load('index.php/site_add_client','contentarea');return false;")); ?>




Theme © iAndrew 2016 - Forum software by © MyBB