[thelist] ...try again
Jay Turley
jayturley at gmail.com
Sat Aug 22 22:03:43 CDT 2009
This article might help you out. It looks like the problem might be the
same-domain policy for ajax requests. You're running the
script on one domain, but trying to post to a different domain. You need
some sort of proxy to sit in the middle if you're gonna do stuff like that.
Simple example:
http://jquery-howto.blogspot.com/2009/04/cross-domain-ajax-querying-with-jquery.html
Might could also use Curl library in PHP to make the request to the other
domain.
-Jay
On Sat, Aug 22, 2009 at 7:58 PM, Anthony Baratta <anthony at baratta.com>wrote:
> John Corry wrote:
> > http_request.open('POST', url , true);
>
> Quick and dirty check. Change the above to:
>
> http_request.open('POST', url , false);
>
>
> This way the browser waits for the return code instead of sending and
> not waiting.
>
>
>
> --
> Anthony Baratta
>
> "There are only two kinds of people that understand Marines: the Marines
> and the enemy. Everyone else has a secondhand opinion." -- Gen. William
> Thornson, US Army
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list