You should post the code you currently have. The JS API doesn't have
explicit support for Spreadsheets, even though it's extensible so you
should be able add this in, but it's possible that there's something
missing in your code.

It sounds like gd.feed is null, is that right?

Bobby

On Oct 7, 1:34 am, EasyHard <[email protected]> wrote:
> I am writing a JavaScript HTML file and want to use the Google
> Spreadsheets Data API (with Gdata.js).But now I find that when I use
> "myService1.getFeed(feedUrl,addEntry,handleError);" to get a feed and
> in the function addEntry(gd) I call a funciton "gd.feed.insertEntry
> (newEntry,logmein(),handleError);".Then the Firebug tell me
> "gd.feed.insertEntry is not a function".It seems that object gd only
> have data but no methods.
> I also read the Gdata's manual for Javascript.Its code didn't work at
> my computer either.So I wanna ask how can I call the function
> "insertEntry(entry, continuation, opt_errorHandler) - Instance method
> in class google.gdata.Feed " that write in the GData JavaScript
> Client
> 2.0 document.

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

Reply via email to