Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#btnsubmit').click(function(){
- var author = $('#author').val();
- var email = $('#email').val();
- var comment = $('#comment').val();
- var postData = {
- author: author,
- email: email,
- comment: comment
- };
- $.post('mailcode.php', postData,function(data,status){
- $('#emailresponse').html("Thank you!");
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement