I suspected a security issue, but didn't see the www.calscape vs
calscape difference. Thanks a million!

On Sep 2, 1:16 pm, Barry Hunter <[email protected]> wrote:
> Javascript 
> security:http://www.google.com/search?&q=Cross-domain+XMLHttpRequest
>
> This:http://www.calscape.com/dev/plant_editor/editBigMapTest.php?fieldID=1...
> looks better
>
> On 2 September 2010 18:31, jsbrava <[email protected]> wrote:> When I 
> execute:
> >http://calscape.com/dev/plant_editor/editBigMapTest.php?fieldID=17&ta...
> > On my localhost, I get an appropriate output.
> > However, on the hosting site it fails with:
> > uncaught exception: [Exception... "Component returned failure code:
> > 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult:
> > "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
> >http://calscape.com/dev/plant_editor/editBigMapTest.php?fieldID=17&ta...
> > :: init :: line 54" data: no]
>
> > It fails here:
> >    if (httpObject != null) {
> >        httpObject.open("GET", url, false);
> >       httpObject.send(null);
> >        regionName = httpObject.responseText;
> >        window.document.myForm.myText.value = fieldID + "-" +
> > regionName;
> >    }
> > It is as if the url is bad, but when I enter the url (http://
> >www.calscape.com/dev/plant_editor/processBigMapsTest.php?echoRegion=1...
> > ) that it is calling into the browser, I get the right result.
>
> > It seems like it might be a problem with permissions, security or
> > something?
>
> > I’d appreciate suggestions. I’ve been banging my head against this for
> > quite some time.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Maps API" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-maps-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to