Skip to content

Instantly share code, notes, and snippets.

View shaharyogev's full-sized avatar
🎯
Focusing

Shahar Yogev shaharyogev

🎯
Focusing
View GitHub Profile
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()