[jQuery] Re: Cross domain problems

2008-07-24 Thread Erik Beeson
.href)[1] + > > > '/pathtomyresource'; > > > > > JK > > > > > -Original Message- > > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > > > Behalf Of Erik Beeson > > > Sent: Wednesday, Ju

[jQuery] Re: Cross domain problems

2008-07-10 Thread Vincent Robert
> > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > Behalf Of Erik Beeson > > Sent: Wednesday, July 09, 2008 9:33 AM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Cross domain problems > &g

[jQuery] Re: Cross domain problems

2008-07-09 Thread flycast
)/.exec(window.location.href)[1] + > '/pathtomyresource'; > > JK > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Erik Beeson > Sent: Wednesday, July 09, 2008 9:33 AM > To: jquery-en@googlegroups.com &

[jQuery] Re: Cross domain problems

2008-07-09 Thread Jeffrey Kretz
jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Wednesday, July 09, 2008 9:33 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Cross domain problems The protocol *must* be the same (if the page is https://.../ then the ajax request must also be to https://.

[jQuery] Re: Cross domain problems

2008-07-09 Thread Erik Beeson
The protocol *must* be the same (if the page is https://.../ then the ajax request must also be to https://.../). The port *must* be the same. The host name *must* have the same SLD [1], and if the subdomains are different, document.domain *must* be set to the SLD. I'm certain that this can wor

[jQuery] Re: Cross domain problems

2008-07-09 Thread Ryura
What JS error were you getting before? On Jul 9, 8:01 am, flycast <[EMAIL PROTECTED]> wrote: > I tried setting document.domain = 'site.com'; > It works with a domain of site.com but notwww.site.com. I now get the > following message: > > [Exception... "'Permission denied to call method XMLHttpReq

[jQuery] Re: Cross domain problems

2008-07-09 Thread flycast
I tried setting document.domain = 'site.com'; It works with a domain of site.com but not www.site.com. I now get the following message: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XP

[jQuery] Re: Cross domain problems

2008-07-08 Thread Alexsandro_xpt
Well, I thought this is security browser issue. I always solve this problem this way: Eg.: To ajax this: http://feedproxy.feedburner.com/undergoogle I create this: http://blog.alexsandro.com.br/application/load/feedproxy.feedburner.com/undergoogle -- Alexsandro www.alexsandro.com.br On

[jQuery] Re: Cross domain problems

2008-07-08 Thread Erik Beeson
Add this somewhere in your javascript: document.domain = 'site.com'; Google document domain --Erik On 7/8/08, flycast <[EMAIL PROTECTED]> wrote: > > Simple problem (I think)... > > I am new to JS and ajax. > > I am building an ajax capability on a clients site. I am running into > cross d