Bug 66177 - Erase pre-populated text in "Search Red Hat" box on www.redhat.com
Summary: Erase pre-populated text in "Search Red Hat" box on www.redhat.com
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Web Site
Classification: Red Hat
Component: Global Header
Version: current
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: rcabral
QA Contact: Tom Lancaster
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-05 20:56 UTC by mandi
Modified: 2007-03-27 03:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-07-23 14:32:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mandi 2002-06-05 20:56:20 UTC
Description of Problem:

Search box in global header is populated with text "enter search term" that
remains when user clicks in the box.  The user then has to manually delete this
pre-entered text before entering a search term.

The same applies to the "Your email" box for the "Newsletters" section in the
center of the page.

Version-Release number of selected component (if applicable):


How Reproducible:

go to www.redhat.com
click in the SEARCH RED HAT:  box
or the newsletters/email box.


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:

Pre-populated text remains in the input and must be deleted by the user.

Expected Results:

would be nice if the pre-populated text were to be erased when the user clicked
in the <INPUT>

accomplished by adding a little javascript to the INPUT tag for these text inputs:
onfocus="this.value='';"
or, since that would erase the text everytime the user clicked out and clicked
back into the input box, you could use something like

onfocus="if(this.value == 'enter search term') { this.value='';}"

Additional Information:


Note You need to log in before you can comment on or make changes to this bug.