Ajax post to php not working in my website
jQuery.ajax({
url:'js/enquiry.php',
type:'post',
data:jQuery('#frmContactus').serialize(),
success:function(result){
console.log("inside")
jQuery('#msg').html(result);
jQuery('#submit').html('<i class="icofont-calendar"></i>Book An Appointment');
jQuery('#submit').attr('disabled',false);
jQuery('#frmContactus')[0].reset();
}
});
Not executing ajax no error is printed as well
-
Hey there! This doesn't seem like it would be related to cPanel. You'll want to check the server logs at /etc/apache2/logs/error_log to see if there is more information there.
0
Please sign in to leave a comment.
Comments
1 comment