![]() |
Anchor and Javascript - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Anchor and Javascript (/showthread.php?tid=33102) Pages:
1
2
|
Anchor and Javascript - El Forum - 08-19-2010 [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;")); ?> |