- Include jQuery;
- Include Ajax code from script.js;
- Change Ajax selector in you JS;
- Create HTML form with you form class;
- Create HTML Hidden Required Fields with you values;
- Change path to mail.php in you JS.
- Done!
Universal PHP Mail Feedback Script
Universal PHP Mail Feedback Script