Actually, its an issue due to the same origin policy. I have a solution, but I have to dig it up...

--
Dean H. Saxe
"A true conservationist is a person who knows that the world is not given by his fathers, but borrowed from his children." -- John James Audubon




On Nov 2, 2009, at 2:30 PM, John Youngman wrote:

Mischa,

Not sure about JS and subdomains - I wouldn't think it would be a problem, but I would imagine that the subdomain is pointing to just a folder on the original domain, yes? if so, just have your AJAX post to the file in that folder, instead of using the submain in the script itself.

John

--------------------------------------------------
From: "Mischa Uppelschoten" <mischa.uppelscho...@bankersx.com>
Sent: Monday, November 02, 2009 2:20 PM
To: "Web Site" <discussion@acfug.org>
Subject: [ACFUG Discuss] Javascript across sub domains

More of a js question than CF, but I hope someone might be able to chime in and save me some research time.

Source code (html + js) comes from www.domain.com and is loaded in a frame.

is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ?

Right now FireBug is not showing any attempt at all, so my guess is that FF is preventing it. Is there anything I can do server side to allow that?

Thanks!

Mischa.



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=gin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------





-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to