Reputation: 1473
Is there a way to use Javascript to interact with an google spreadsheet when embedded in a html website?
I am looking to do some of the following operations:
I know google has a great app engine that works inside google docs but I would like to be able to interact with the spreadsheet via javascript when it is embedded inside an iframe.
Upvotes: 3
Views: 2084
Reputation: 7957
There are two ways you can do this
Use the JavaScript API for Spreadsheets ( https://developers.google.com/api-client-library/javascript/start/start-js )
Write a Google Apps Script, deploy it as a web app and make AJAX/REST calls from your JavaScript. See Content Service to see how this can be done using GAS ( https://developers.google.com/apps-script/guides/content )
Upvotes: 1