I have built an ajax contact form using this tutorial.
How to Create an AJAX Contact Form
My AJAX Contact Form works well - perfectly inline with the tutorial.
But rather than just the plain text
echo "Thank You! Your message has been sent.";
I would like to include a hyperlink in the Thank you message.
echo "<p><a href="#">Thank You! Your message has been sent.</a>";
But the ajax outputs my HTML as plain text.
Thank You! Your message has been sent."; To echo "
Thank You! Your message has been sent."; And Can you show Screenshot for your PHP output that send to JS?
– mohammed alshobaki Mar 29 '21 at 14:40Thank You....
";` Also, close your paragraph finally with `` – biesior Mar 29 '21 at 14:46