We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the JS for the form to be passed via AJAX is not attached to the theme.
init.js
`/----------------------------------------------------/ /* contact form ------------------------------------------------------*/
$('form#contactForm button.submit').click(function() {
$('#image-loader').fadeIn(); var contactName = $('#contactForm #contactName').val(); var contactEmail = $('#contactForm #contactEmail').val(); var contactSubject = $('#contactForm #contactSubject').val(); var contactMessage = $('#contactForm #contactMessage').val(); var data = 'contactName=' + contactName + '&contactEmail=' + contactEmail + '&contactSubject=' + contactSubject + '&contactMessage=' + contactMessage; $.ajax({ type: "POST", url: "inc/sendEmail.php", data: data, success: function(msg) { // Message was sent if (msg == 'OK') { $('#image-loader').fadeOut(); $('#message-warning').hide(); $('#contactForm').fadeOut(); $('#message-success').fadeIn(); } // There was an error else { $('#image-loader').fadeOut(); $('#message-warning').html(msg); $('#message-warning').fadeIn(); } } }); return false;
});`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the JS for the form to be passed via AJAX is not attached to the theme.
init.js
`/----------------------------------------------------/
/* contact form
------------------------------------------------------*/
$('form#contactForm button.submit').click(function() {
});`
The text was updated successfully, but these errors were encountered: