Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP: Clicking Reset on Search Results Page Does Not Clear Form


View products that this article applies to.

This article was previously published under Q300466

↑ Back to the top


Symptoms

When you click the Reset button on a search page, the Search for text box is cleared. When you click the Reset button on a search results page, nothing happens.

↑ Back to the top


Cause

This behavior occurs because the initial value of the text box on the search form is set to the current search value. According to the FrontPage specification, the search component sets the initial value on the search results page to the search text. Therefore, when you click the Reset button, the search text remains in the text box on the search results page.

↑ Back to the top


Workaround

To work around this behavior, you can reset the search form using Dynamic HTML (DHTML). For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:
300467� FP: How to Reset the Search Form Text Box using DHTML

↑ Back to the top


More information

According to the Hypertext Markup Language (HTML) specification, the Reset button in an HTML form is supposed to set the value displayed in a text box back to its initial value.

For additional information about HTML syntax, see the following World Wide Web Consortium (W3C) web site:

↑ Back to the top


Keywords: KB300466, kbprb

↑ Back to the top

Article Info
Article ID : 300466
Revision : 4
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 372