Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ajaxEmail() {
- $('form#email').submit( function(){
- $.ajax({
- type: $('form#email').attr('method'),
- url: $('form#email').attr('action'),
- data: $('form#email').serialize(),
- success: function(data) {
- $('#email-response').css('display','block');
- $('#email-response').html(data);
- }
- });
- return false;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement