Jquery empty – form field

<form name=”newsletter-form” id=”newsletter-form” method=”post”>

<input id=”email” name=”email”  placeholder=”insert email”  type=”text”/>

<button type=”submit”>NEWSLETTER</button>

</form>

$(“#email”).val(”);

Leave a comment