title: Google Calendar API - How do I create a QUICK ADD event using javascript?
body: <p>I'm just learning Google's Calendar API and can't figure out how to create a Quick Add Event using javascript. Is this possible? Are there any examples or documentation? </p>
  
  <p>Here's what's not working - Rather than creating an event tomorrow at 10am called "Coffee", the following code creates an event set for whatever time I posted it, and puts "Coffee tomorrow 10am" in the description field. </p>
  
  <pre><code>function createEvent() {
  
      var calendarService = new google.gdata.calendar.CalendarService('GoogleInc-jsguide-1.0');
  
      var feedUri = 'http://www.google.com/calendar/feeds/my-calendar-url/private/full';
  
      var entry = new google.gdata.calendar.CalendarEventEntry();
  
      entry.setContent(new google.gdata.atom.Text.create("Coffee tomorrow 10am"));
  
      entry.setQuickAdd(true);
  
      var callback = function (result) {
          $('#panel').html('event created!');
      }
  
      var handleError = function (error) {
          $('#panel').html(error);
      }
  
      calendarService.insertEntry(feedUri, entry, callback, handleError, google.gdata.calendar.CalendarEventEntry);
  
  }
  </code></pre>
  
  <p>What am I doing wrong? What am I doing right?</p>
  
  <p>Thanks!</p>
  
  <p>-alex- </p>