Last active
October 31, 2020 09:56
-
-
Save davidmccoy/1dc29afb10e53923452ac2dca5df8def to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $form = $('form#test-form'), | |
url = 'https://script.google.com/macros/s/abcdefghijklmnopqrstuvwxyz1234567890/exec' | |
$('#submit-form').on('click', function(e) { | |
e.preventDefault(); | |
var jqxhr = $.ajax({ | |
url: url, | |
method: "GET", | |
dataType: "json", | |
data: $form.serializeObject() | |
}).success( | |
// do something | |
); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i used below complete method and used html in notepad section but its not working ???
https://medium.com/@dmccoy/how-to-submit-an-html-form-to-google-sheets-without-google-forms-b833952cc175