0
0

Fixed javascript ajax request data values, added debug ajax success function, removed unnecessari files (again)

This commit is contained in:
Bryan Pedini 2019-01-21 00:47:24 +01:00
parent bc95c0ec7d
commit d592b1c19a
No known key found for this signature in database
GPG Key ID: 688D440AE31B40C2
5 changed files with 8 additions and 8276 deletions

View File

@ -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)

View File

@ -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
} }
}); });
}); });

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long