function send() { var link = 'mailto:abhinavkishorem9@gmail.com?subject=Message from ' +document.getElementById('message').value +'&body='+document.getElementById('message').value; }
<div id="form-container"> <h3 style="font-family: Anton, sans-serif;font-style: italic;">Contact Form</h3> <form action="mailto:abhinavkishorem9@gmail.com" method="post" enctype="text/plain"> <label for="name">Name</label> <input type="text" id="name"> <label for="email">Email</label> <input type="text" id="email"> <label for="subject">Subject</label> <input type="text" id="subject"> <label for="message">Message</label> <textarea id="message"style="font-family: Anton, sans-serif;font-style: italic;">Write your message here..</textarea> <button class="rounded">Send Message</button> </form> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)