submit form through jquery by id
$(document).ready(function(){
$("#submitBtn").click(function(){
$("#myForm").submit(); // Submit the form
});
});
submit form through jquery by id
$(document).ready(function(){
$("#submitBtn").click(function(){
$("#myForm").submit(); // Submit the form
});
});
jquery on form submit call function
$(document).ready(function() {
$("your form selector here").submit(function() {
// do the extra stuff here
$.ajax({
type: "POST",
url: "mail.php",
data: $(this).serialize(),
success: function() {
$('.simple-sucess').fadeIn(100).show();
$('.contact_form').fadeOut(100).hide();
$('.simple_error').fadeOut(100).hide();
}
})
})
})
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us