Javascript examples for jQuery:Select Dropdown
Remove input and dropdown value with jquery
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(function(){/*ww w .j ava 2 s . com*/ var parent_email = $("input[name=parent_email]"); parent_email.val(''); }); </script> </head> <body> <input type="text" name="parent_email" value="parent"> </body> </html>