Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting uppercase

Status
Not open for further replies.

wdriley

IS-IT--Management
Jun 15, 2005
1
US
I need to set a field to uppercase, regardless of the case of the entry.
I understand the following javascript may allow me to do this, but it doesn't seem to work.
========================================
function Ucase(TextField1)
{
var s = TextField1.rawValue;
TextField1.rawValue = s.toUpperCase();
}

When I attempt to hook this statement to a text field, using the action "mouse enter" to initialize the function and "mouse exit" to run the script, I get nothing.
I obviously need help
Thanks if advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top