How to post (or insert) data to google spreadsheet? I don't use form, but I have input fields. However, the data cannot be sent to my spreadsheet. If someone could help?
<input id="name" type="text" />
<input id="location" type="text" />
I'd like to use ajax to post entered data to google spreadsheet.
$.ajax({
type: 'post',
url: 'https://docs.google.com/spreadsheet/ccc?key=8D84JF82FK23413',
data: {
name: $('#name').val(),
country: $('#location').val()
},
success: alert('PASS')
});