Home »
» Formulir Vaksinasi
Formulir Vaksinasi
JS
// This script requires jQuery and jquery-form plugin
// You can use these ones from Cloudflare CDN:
//
//
//
$('#bootstrapForm').submit(function (event) {
event.preventDefault()
var extraData = {}
$('#bootstrapForm').ajaxSubmit({
data: extraData,
dataType: 'jsonp', // This won't really work. It's just to use a GET instead of a POST to allow cookies from different domain.
error: function () {
// Submit of form should be successful but JSONP callback will fail because Google Forms
// does not support it, so this is handled as a failure.
alert('Form Submitted. Thanks.')
// You can also redirect the user to a custom thank-you page:
// window.location = 'http://www.mydomain.com/thankyoupage.html'
}
})
})
jangan mengharapkan sesuatu, karena bisa jadi sesuatu itu tidak mengharapkanmu
Tidak ada komentar:
Posting Komentar