//Contact Form $('#submit').click(function() { $.post("assets/php/send.php", $(".contact-form").serialize(), function(response) { $('#success').html(response); }); return false; }); //Swipebox //Use .swipebox class (function($) { $('.swipebox').swipebox(); })(jQuery);