@Sid, So far, I mean without using the iframe trick or YQL, you'd have to use a modern browser and the XHR2 "Access-Control-Allow-Origin" header: If this header is sent by your server, the browser will then allow or block the XHR's HTTP Request.
https://developer.mozilla.org/En/Server-Side_Access_Control Chris. On Tue, Dec 14, 2010 at 5:09 AM, Glory <[email protected]> wrote: > Hi, > > I am new to this group and was using Stack Overflow (SO) to follow the > latest and greatest in the field of JavaScript. I have a question to > all the JS gurus here. How are you handling the asynchronous cross- > domain post from Javascript currently? Most of the answers on SO > suggest using iFrame. Is that the only way? What are the best > practices around this? I think YUI has some capabilities but what > about jQuery? > > Thanks, > Sid > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
