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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I change text color in a text box?

Status
Not open for further replies.

spook007

Programmer
May 22, 2002
259
US
I'm trying to find a way that I can change the text color inside a text box as the text box loses focus and gains focus. Has anyone heard of anything that will do this?
 
your deffinetely in the wrong forum for this but this is how
<INPUT TYPE=&quot;text&quot; STYLE=&quot;background:00BFFF&quot;> I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
just tell me to shut up and read the whole thread. Sorry I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
Take previous post and just use javascript to set the style during onFocus and onBLur events.
-Tarwn
Sleep? No, sorry haven't had a vacation in a while.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top