Making an AJAX call on a local script to update dbase using POST. Error reporting is not giving me much to go on. Works in IE, Chrome and FF, but not Safari 6. Other JQuery features are working in Safari, and Firebug DOM tab is showing JQuery has. Here is the AJAX code block.
$.ajax({
type: "POST",
url: "updatead3.php",
data: {pos_data: dd_elm}, //index array created earlier
contentType: 'application/x-www-form-urlencoded; charset=UTF-8'
}).done (function(data) {
if(console && console.log) {
console.log("AJAX success: " + data);
}
}).fail(function(obj,status,error) {
alert("AJAX Error:" + obj.error);
});
alert("Changes were saved!");
location.reload();
)};
)}:
Under the Firebug Scripts tab > Inspect jquery-1.9.1.js menu option, "Access to restricted URI denied" is being displayed. But if this were a cross domain issue, I wouldn't expect any JQuery functionality. Thanks in Advance