[jQuery] Cross-domain (for analytics)

2009-07-30 Thread Danny Ayers
I've run up against a cross-domain Ajax problem, essentially I want to do something like: (in http://hostA.com/page.html) script $.ajax({ type: POST, url: http://hostB.com/service.php;, data: dataText, ... but this promptly produces an

[jQuery] Re: Cross-domain (for analytics)

2009-07-30 Thread Danny Ayers
Many thanks folks. I wound up opting for a hidden form (thanks for the twit Laurian!) - it allowed me to do a sweet RESTful POST and because I didn't need anything back from the server there was no need to get my hands dirty with iFrames. Maybe jQuery could benefit from such a feature? Anyhow I