Welcome Guest, Not a member yet? Register   Sign In
Help with link_to_remote
#1

[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.




Theme © iAndrew 2016 - Forum software by © MyBB