On Tue, Jan 6, 2009 at 7:40 PM, MoDem <[email protected]> wrote: > > if (eventEntries.length > 0) { > for (var i = 0; i < eventEntries.length; i++) { > var event = eventEntries[i]; > var date = event.getTimes()[0].getStartTime().getDate(); > > // Print the event title of the matches > document.write('Event title = <a href="'+ event.getLink > ().getHref() +'">' + event.getTitle().getText() + '</a>'); > document.write('<br/>Event date = ' + date); > } > } else { > // No match is found for the date query > document.write('no events are matched from the query!'); > } > > This code doesn't work tough it comes from the sample javascript API. > I juste added the link and the date and the event.getTimes()[0] is > undefined in FF3 & IE. > > So where i'm wrong please.
MoDem, That should work. I wasn't able to reproduce that on my end. Can you upload an HTML file containing your code to a server somewhere, and let me know what browser you're using? Thanks. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
