Welcome Guest, Not a member yet? Register   Sign In
output->set_output to jquery any help..
#1

[eluser]Pet[/eluser]
how can i capture the output sent using jquery .get() . I want to show a dynamic page.
This my way of sending it to ajax
$data=array(
'id'=>100,
'name'=>test_name
);
$page=$this->load->view('my_view',$data,TRUE);
$this->output->set_output($page);

anyone encountered this approach? I just need a function to load it in view using jquery .load().




Theme © iAndrew 2016 - Forum software by © MyBB