Hi,

I am glad you solved problem and thanks for sharing the solution :)

These are the resources I would recommend to get the full picture of the
Calendar Data API -

Protocol Guide -
http://code.google.com/apis/calendar/developers_guide_protocol.html

Reference Guide -
http://code.google.com/apis/calendar/reference.html

JavaScript Interactive Guide -
http://code.google.com/apis/calendar/developers_guide_js.html

Hope it helps,
Austin

On Wed, May 28, 2008 at 9:50 AM, Steve <[EMAIL PROTECTED]> wrote:

>
> My problem was caused by having an onLoad in the body tag of the page
> (which the page that worked didn't have).  I'm not entirely sure how
> it caused the problem because the getCalendars() function
> (google.setOnLoadCallback(getCalendars); ) was being invoked but when
> I removed the onLoad from the body and called the function that was
> there from the end of getCalendars, the problem went away.
>
> Thanks for looking at this.  Can you recommend a learning resource
> that picks up where the Google API pages leave off?
>
> Steve
>
> On May 25, 11:08 pm, Steve <[EMAIL PROTECTED]> wrote:
> > First, I am new to the Google API.  I have two domains, each of which
> > I want to be able to access its Google calendar with the javascript
> > Google API.  Each Google calendar is under a different Google
> > account.  Following the samples I was able to access the calendar from
> > the first domain.  I copied that code into a web page on the second
> > domain, changed the Google API key to one for the domain and changed
> > the calendar feed address to the second calendar.  When I visit this
> > page, I get the message 'Permission denied to call method
> > XMLHttpRequest.open'.  I tried using the calendar feed address of the
> > second calendar in the page on the first domain and that worked.  I
> > mostly use Firefox 2 but I also tried IE7 and that had the same
> > problem.  I've seen the postings about cross domain access but I don't
> > understand exactly what it means.  I'm hoping it doesn't mean you can
> > only ever visit one page that uses the calendar API to display Google
> > calendar info.
> > Any help would be appreciated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to