Simple AJAX->PHP Request Returns "Access to restricted URI denied"

Simple AJAX->PHP Request Returns "Access to restricted URI denied"


I'm trying to do a pop-up form that onsubmit will send the data to a PHP file
that will mail(the_data). The page is located here :
http://www.kuhnsjewelers.com/products/blue-topaz-and-peridot-ring
http://www.kuhnsjewelers.com/products/blue-topaz-and-peridot-ring
Click on "Share this item" and when you click Send, firebug returns the
"access to restricted uri denied" error
Here's the function that is called when the user clicks send :
$('#share-send').click(function() {
$.ajax({
type: "GET",
url:
"http://www.sunrisedesign.com/clients/kuhns/shopify/share.php",
data: $("#share-form").serializeArray(),
dataType: "JSONP",
success: function(msg){
alert(msg);
}
});
$.unblockUI();
return false;
});
I sorta understand the whole cross-domain security thing, but I've read if
you change your dataType to "jsonp", that will fix it
The client-side file
(http://www.kuhnsjewelers.com/products/blue-topaz-and-peridot-ring) isn't
PHP and the only dev I can use is Javascript.
Any help!?!?
--
View this message in context: http://www.nabble.com/Simple-AJAX-%3EPHP-Request-Returns-%22Access-to-restricted-URI-denied%22-tp20863282s27240p20863282.html
Sent from the jQuery Dev List mailing list archive at Nabble.com.