You are giving the wrong URL for the AJAX call.
Change this line:
var fullurl = $('#hiddenurl').val() + 'autoComplete_v.php/autoComplete_c/getResult/' + searched
Here $('#hiddenurl').val()
is your base_url()
. So the complete URL will be:
var fullurl = $('#hiddenurl').val() + 'controller_class_name/getResult/' + searched
In CodeIgniter your URL is like this:
base_url/controller_class_name/method_name/parameter1/parameter2....
Your autocomplete_v.php will produce an error. You can check how your JavaScript is working with Firebug.