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

change text area color

Status
Not open for further replies.

Juppo

Technical User
Jun 13, 2003
15
GB
ok so Im using

Code:
 <TEXTAREA onFocus=&quot;bgColor='Blue'&quot; id=DETAILS title=DETAILS>

to try and change the color of the text box when the persons clicked on it, but its not working so what do I need to use?
Thanks
 
Hi Juppo
Try this instead.

<TEXTAREA onFocus=&quot;this.style.backgroundColor='blue'&quot; id=DETAILS title=DETAILS NAME=&quot;DETAILS&quot;>

Hope I helped / Thanks for helping
if ((Math.abs(x)<10&&Math.abs(y)<10) && (((parseInt(Math.abs(x).toString()+Math.abs(y).toString())-Math.abs(x)-Math.abs(y))%9)!=0)) {alert(&quot;I'm a monkey's uncle&quot;);}
 
No probs [bigsmile]

Hope I helped / Thanks for helping
if ((Math.abs(x)<10&&Math.abs(y)<10) && (((parseInt(Math.abs(x).toString()+Math.abs(y).toString())-Math.abs(x)-Math.abs(y))%9)!=0)) {alert(&quot;I'm a monkey's uncle&quot;);}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top