The correct js code is:
$(document).ready(function() {
$().ajaxStart(function() {
$('#loading').show();
$('#result').hide();
}).ajaxStop(function() {
$('#loading').hide();
$('#result').fadeIn('slow');
});
$('#form, #fat, #fo3').submit(function() {
Hello, I have a problem when sending data with jQuery, if sent by
clicking "Submit" if it works, but when trying to send it directly
when the input 'name' has two values, does not run with ajax, but it
does as a normal consultation.
Here you put the code on the form and the ajax, ajax is not much
Hello, I have a problem when sending data with jQuery, if sent by
clicking "Submit" if it works, but when trying to send it directly
when the input 'name' has two values, does not run with ajax, but it
does as a normal consultation.
Here you put the code on the form and the ajax, ajax is
3 matches
Mail list logo