update php mail scripts and validation
This commit is contained in:
parent
d8911cd314
commit
8647dd5d47
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -215,7 +215,7 @@
|
||||
<div class="timeline-image"><img class="rounded-circle img-fluid" src="assets/img/about/4.jpg" alt="..." /></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4>July 2020</h4>
|
||||
<h4>July 2021</h4>
|
||||
<h4 class="subheading">Phase Two Expansion</h4>
|
||||
</div>
|
||||
<div class="timeline-body"><p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt ut voluptatum eius sapiente, totam reiciendis temporibus qui quibusdam, recusandae sit vero unde, sed, incidunt et ea quo dolore laudantium consectetur!</p></div>
|
||||
|
@ -21,7 +21,7 @@ $(function () {
|
||||
$this = $("#sendMessageButton");
|
||||
$this.prop("disabled", true); // Disable submit button until AJAX call is complete to prevent duplicate messages
|
||||
$.ajax({
|
||||
url: "/assets/mail/contact_me.php",
|
||||
url: "/assets/mail/contact_me.php", // Make sure this points to the contact_me.php file on your server
|
||||
type: "POST",
|
||||
data: {
|
||||
name: name,
|
||||
@ -56,8 +56,8 @@ $(function () {
|
||||
$("#success > .alert-danger").append(
|
||||
$("<strong>").text(
|
||||
"Sorry " +
|
||||
firstName +
|
||||
", it seems that my mail server is not responding. Please try again later!"
|
||||
firstName +
|
||||
", it seems that my mail server is not responding. Please try again later!"
|
||||
)
|
||||
);
|
||||
$("#success > .alert-danger").append("</div>");
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user