Clearing Contact Form Fields

How do I clear out the fields on a contact form.  Whenever I start typing in the field, anything that has been input before is still there.

<form id="contactform" method="post" action="index.php" maxlength="50" size="30" class="input">
												<div  class="wrapper">
													<select name="subject" id="subject" class="input">
			  										<option value="Inquiries">Inquiries</option>
			  										<option value="Press">Press</option>
			  										<option value="Employment">Employment</option>
                									<option value="Proposals">Proposals</option>
                                                <div  class="wrapper">
													<input  type="text" name="name" maxlength="50" size="30" class="input">
												<div  class="wrapper">
													<input  type="text" name="email" maxlength="80" size="30" class="input">
												<div  class="textarea_box">
													<textarea  name="comments" maxlength="1000" cols="30" rows="6" class="input"></textarea>
												<div class="wrapper">
													<a href="#" class="button1" onClick="document.getElementById('contactform').reset()"><span></span><strong>Clear</strong></a>
													<a href="#" class="button1" onClick="document.getElementById('contactform').submit()"><span></span><strong>Send</strong></a>

Open in new window

then Contact
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
The autocomplete attribute specifies whether a form should have autocomplete on or off.  The default is "on" so if you omit this attribute you're getting autocomplete.  A slightly deeper explanation is available here:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DS928Author Commented:
Bingo and Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.