Question: how to send data from controller to view in codeigniter using ajax?
Answer: $this->load->view( 'admin/ServicesList', $data ); Another approach would be to return both the view and the json as part of the json. echo json_encode($data); Then in your ajax request, you will have the 'AcceptedServices' and 'html' that you can do with what you want.