Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Set fgColor in Table


Message #1 by "T.Gopalakrishnan" <tgk26@r...> on Fri, 18 Oct 2002 13:11:37
document.getElementById('myTable').style.color='green';

-----Original Message-----
From: T.Gopalakrishnan [mailto:tgk26@r...]
Sent: Friday, October 18, 2002 1:12 PM
To: javascript
Subject: [javascript] Set fgColor in Table


i am going to change dynamically table's fgcolor(forecolor) and bgcolor. 
bgcolor is default property. how can i set the fgcolor in table 
dynamically. 

i need solution with example.

thanks for advance
gopalakrishnan

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index