I'm new to jquery
I'm working on a form data html
,
now i need to reset
the data on click
on the reset button
and also need to transfer
the form data to email on click on submit button
.
Can anyone help me in solving this??
Before Posting the question I have gone through the link which Pierre C. has updated and my question is different from that question and even how to add /can we add "type" attribute in anchor tag.??
here is the html:
<form id="form" method="post">
<fieldset>
<label>
<input type="text" value="Name">
</label>
<label>
<input type="text" value="Email">
</label>
<label>
<input type="text" value="Phone">
</label>
<label>
<textarea>Message</textarea>
</label>
<div class="btns">
<a href="#" class="button">Clear</a>
<a href="#" class="button" onClick="document.getElementById('form').submit()">Send</a>
</div>
</fieldset>
</form>