I just transferred my site over to a new server and I am encountering a problem.
Previously, the following would work:
var ajaxURL = 'http://www.example.com/cart/?parameter=1';
ajaxCaptureRequest = $.post( ajaxURL, { cart_action: "capture", firstName: $('#firstName').val(), totalSub: $('#totalSub').val() }, function(data){});
Now on my new server it doesn't work. If however, I change the ajaxURL to:
var ajaxURL = 'http://www.example.com/cart/index.php?parameter=1';
it works.
For stupid reasons I cant change the code permanently like this so it has to be without the 'index.php' in the ajaxURL variable.
What settings do I need to change in order to get this done?