skip to Main Content

Using any Jquery AJAX requests to load PHP script cause script to be returned and not run by server – Plesk

I am using the following code: $.post( "includes/modules/list.php" ); And I have tried the following: jQuery("#empty").load("/includes/modules/list.php", {}, function() { refreshlist(); }); And: $.post("/includes/modules/list.php",function(data){ alert(data); }); It was working fine on IIS but after switching to Apache (which I thought would…

VIEW QUESTION

Ajax post in oscommerce

I'm trying to update my database on the event of a change in my select box. The php file I'm calling on to process everything, works perfectly. Heres the code for that: <?php $productid = $_GET['pID']; $dropshippingname = $_GET['drop-shipping']; $dbh…

VIEW QUESTION

jquery ajax post says xxx not allowed by Access-Control-Allow-Origin – Ebay API

I was trying to call eBay FindProducts API using AJAX (post request) but was stuck at the following error: XMLHttpRequest cannot load http://open.api.ebay.com/shopping?callname=FindProducts. Origin http://localhost.com/test.php is not allowed by Access-Control-Allow-Origin. My code: $.ajax ({ type: "POST", url: 'http://open.api.ebay.com/shopping?callname=FindProducts', dataType: ($.browser.msie)…

VIEW QUESTION
Back To Top
Search