CodeIgniter Forums
Help with link_to_remote - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Help with link_to_remote (/showthread.php?tid=16977)



Help with link_to_remote - El Forum - 03-22-2009

[eluser]Unknown[/eluser]
Hi I'm at the begin with codeigniter and i'm stocked with the this function link_to_remote from ajax helper. I don't know how to send and param to this link. I need the params to that when i load in the controller to have an id of what i clicked.
I did like bellow but i don't have nothing in the post or i don't know how to get the param test.
Code:
$data['ajaxLink'] = $this->ajax->link_to_remote("Link care incarca ajax", array('url' => 'loadAjax', 'update' => 'divblock', 'with' => "{test: 'test'}" ) );



Help please.