Hi!
I tried to do a quick add function in javascript but it doesn't as it
should.
Could someone please helpme with the code?

Thanks!

var calendarService = new google.gdata.calendar.CalendarService
('GoogleInc-jsguide-1.0');
var feedUri = 'http://www.google.com/calendar/feeds/default/private/
full';
var entry = new google.gdata.calendar.CalendarEventEntry();

entry.setContent(google.gdata.Text.create('JS-EVENT on 24th of
November at 10:00'));
entry.setQuickAdd(true);

var callback = function(result) {
  PRINT('event created!');
}
var handleError = function(error) {
  PRINT(error);
}
calendarService.insertEntry(feedUri, entry, callback,
    handleError, google.gdata.calendar.CalendarEventEntry);

--

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