Skip to content

Instantly share code, notes, and snippets.

@codepedia
codepedia / pagina.html
Created February 10, 2017 05:43 — forked from vquaiato/pagina.html
submetendo um form para o google spreadsheet sem redirect
<script type="text/javascript">
var submitted = false;
function submit(){
if(submitted) {
alert('Obrigado por cadastrar seu e-mail!');
document.getElementById('entry_0').value = '';
}
</script>
<iframe name="hidden_iframe" id="hidden_iframe" style="display: none;" onload="submit();"></iframe>