.href)[1] +
> > > '/pathtomyresource';
> >
> > > JK
> >
> > > -Original Message-
> > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> >
> > > Behalf Of Erik Beeson
> > > Sent: Wednesday, Ju
>
> > -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
)/.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-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://.
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
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
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
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
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
9 matches
Mail list logo