Expert: Mike Dixon Date: 6/18/2008 Subject: input text box
Question i was wondering how you can clear a input text box after you submit say a contact form?
when i enter text into textboxes and click on 'submit' and then click on the 'back' button, it displays the contact form with all the information i had entered still in the input text box?
thanks
Answer inside the function that submits the form set all to text = ""; this will place an empty string into the textboxes, so it clears them. So you would have