Fixed javascript ajax request data values, added debug ajax success function, removed unnecessari files (again)
This commit is contained in:
parent
bc95c0ec7d
commit
d592b1c19a
@ -5,4 +5,5 @@
|
|||||||
20190119/01 - Moved the entire title from the javascript to the PHP section, finished almost all templates, moved the footer on the main "template holder" page, extended the session to three days instead of just one for no technical reasons, added CHANGELOG, added three background images. | Did you seriously thought that this changelog was to keep track of any sort of change? OF COURSE NOT: it's for myself, when I commit only once after three days of work, to remember what the hell I did in the three days before, like sidenotes, but inside the own repository I will commit to...
|
20190119/01 - Moved the entire title from the javascript to the PHP section, finished almost all templates, moved the footer on the main "template holder" page, extended the session to three days instead of just one for no technical reasons, added CHANGELOG, added three background images. | Did you seriously thought that this changelog was to keep track of any sort of change? OF COURSE NOT: it's for myself, when I commit only once after three days of work, to remember what the hell I did in the three days before, like sidenotes, but inside the own repository I will commit to...
|
||||||
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