");
$('#success > .alert-danger').html("");
- $('#success > .alert-danger').append("Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!");
+ $('#success > .alert-danger').append($("").text("Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!"));
$('#success > .alert-danger').append('
');
//clear all fields
$('#contactForm').trigger("reset");
@@ -69,4 +69,4 @@ $(function() {
/*When clicking on Full hide fail/success boxes */
$('#name').focus(function() {
$('#success').html('');
-});
+});
\ No newline at end of file
diff --git a/mail/contact_me.php b/mail/contact_me.php
index 9770270..b8dd9eb 100644
--- a/mail/contact_me.php
+++ b/mail/contact_me.php
@@ -23,4 +23,4 @@ $headers = "From: noreply@yourdomain.com\n"; // This is the email address the ge
$headers .= "Reply-To: $email_address";
mail($to,$email_subject,$email_body,$headers);
return true;
-?>
+?>
\ No newline at end of file