Fixed javascript ajax request data values, added debug ajax success function, removed unnecessari files (again)
This commit is contained in:
parent
bc95c0ec7d
commit
d592b1c19a
@ -6,3 +6,4 @@
|
|||||||
20190120/01 - Completed the templates, added a cool javascript effect on textarea (added jquery.ns-autogrow plugin), modified the click functions from .on to .click for improved performance | All tho the commit of "yesterday" was of "this morning" at 4 minutes passed midnight... my life is a *****, guess why...
|
20190120/01 - Completed the templates, added a cool javascript effect on textarea (added jquery.ns-autogrow plugin), modified the click functions from .on to .click for improved performance | All tho the commit of "yesterday" was of "this morning" at 4 minutes passed midnight... my life is a *****, guess why...
|
||||||
20190120/02 - Modified template title | My descriptions says everything
|
20190120/02 - Modified template title | My descriptions says everything
|
||||||
20190121/01 - Added PHP and javascript control for the contact form, moved javascript from template page to a dedicated script file | What to say, my description says everything again, strangely... How much I hate to commit 10 minutes after midnight by the way...
|
20190121/01 - Added PHP and javascript control for the contact form, moved javascript from template page to a dedicated script file | What to say, my description says everything again, strangely... How much I hate to commit 10 minutes after midnight by the way...
|
||||||
|
20190121/02 - Fixed javascript ajax request data values, added debug ajax success function, removed unnecessari files (again)
|
@ -6,9 +6,12 @@
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
datatype: 'JSON',
|
datatype: 'JSON',
|
||||||
data: {
|
data: {
|
||||||
name: $('#contact-form-name'),
|
name: $('#contact-form-name').val(),
|
||||||
email: $('#contact-form-email'),
|
email: $('#contact-form-email').val(),
|
||||||
message: $('#contact-form-message')
|
message: $('#contact-form-message').val()
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
console.log( 'I ran the ajax request successfully' ); // debug purposes
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
8269
vendor/jquery/jquery.slim.js
vendored
8269
vendor/jquery/jquery.slim.js
vendored
File diff suppressed because it is too large
Load Diff
2
vendor/jquery/jquery.slim.min.js
vendored
2
vendor/jquery/jquery.slim.min.js
vendored
File diff suppressed because one or more lines are too long
1
vendor/jquery/jquery.slim.min.map
vendored
1
vendor/jquery/jquery.slim.min.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user