Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

[Assistance ]JS how dynamic modification of CSS class attribute value elements?

If I tableCell creation of a dynamic manner, how to give a class attribute to it?
For example :
[code]
"Style>
. Style1 {background #FFF;) :
"/style>
"Script>
Var myTable = document.createElement ( "table");
Var myTd = document.createElement ( "td");
MyTable.appendChild (myTD);
"/style>
[/code]

How to set up the class attribute of the td style1?

ClassName=




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com