Thanks Dean! I just tried it, but it breaks other parts of my script. Still, I 
think you hit the nail on the head and setting document.domain is the solution, 
were it not for the handiwork of the original author :-(
Mischa.


: FWIW, this is actually not an issue with the SOP, I misspoke.  But to  
: get around some SOP issues set the domain property:
:  http://docs.sun.com/source/816-6408-10/document.htm#1193628

: --
: 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
: -------------------------------------------------------------









Mischa Uppelschoten
VP of Technology
The Banker's Exchange, LLC.
4200 Highlands Parkway SE
Suite A
Smyrna, GA 30082-5198

Phone:    (404) 605-0100 ext. 10
Fax:    (404) 355-7930
Web:    www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
---------- Original Message ----------

FROM:      "Dean H. Saxe" <d...@fullfrontalnerdity.com>
TO:        discussion@acfug.org
DATE:      Mon, 2 Nov 2009 14:41:05 -0500

SUBJECT:   Re: [ACFUG Discuss] Javascript across sub domains

FWIW, this is actually not an issue with the SOP, I misspoke.  But to  
get around some SOP issues set the domain property: 
http://docs.sun.com/source/816-6408-10/document.htm#1193628

--
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
-------------------------------------------------------------



-------------------------------------------------------------
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