Creating a Quick Search Box
Written by Eric Smith, Northstar Computer Systems LLC
Many web sites offer search capabilities to make it easier to find the data you need. A quick and compact way to build a search box is to do like so:
<form action="whatever.asp" method=post>
<input type="text" name="txtQuery" size=15>
</form>
When the user hits the Enter key, the form will automatically submit in both major browsers. For older browsers, you'll have to add a Submit button, since some browsers don't automatically submit data. If you have a more complex search form, provide a link near the quick search box.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 11/1/1999
|