Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button class="button">Open Email</button>
- $(document).ready(function(){
- $('.button').on('click',function(){
- window.location.href = "mailto:user@example.com?subject=Subject&body=message%20goes%20here";
- window.location.href = "mailto:user@example.com?subject=Subject2&body=message%20goes%20here";
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement