|
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= |
|