Welcome Guest, Not a member yet? Register   Sign In
How to return a view to an ajax call ?
#4
Thumbs Up 

If you want to get a result in json, you can do so:

Code:
$data = $this->upload->data();

$this->output
               ->set_content_type('application/json')
               ->set_output(json_encode($data));
Reply


Messages In This Thread
RE: How to return a view to an ajax call ? - by james - 02-26-2015, 08:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB