Thanks for your soon reply. Yes, I'm including 'ajaxfw.php' in my class Construct. This is part of my controller in my Admin Controller (in 'application/controllers/admin.php'). What's the difference between write ajax functions in 'application/response' and 'application/controllers'. I've readed there is no difference.
Code:
class Admin extends CI_Controller {
/**
* Constructor
*
* @return void
* @author Rafael Enriquez - Naftic Cloud S.L.
**/
public function __construct()
{
parent::__construct();
$this->load->file(FCPATH.'ajaxfw.php');
$this->output->enable_profiler(TRUE);
}