I am using a simple POST to one of my controllers using Ajax, however in my in development tools it seems to never be able to find the controller. I get the error
POST http:// localhost:8888/time.php/checkit 404 (Not Found)
I'm not sure if this has something to do with the routes of CodeIgniter or the .htaccess file.
My Ajax call looks like:
$("#submittodo").click(function () {
$.ajax({
url: 'time.php/checkit',
type: "POST",
data: {name: $(this).val()},
success: function (data) {
alert(data);
}
});
});