JavaScript DHTML/Javascript Objects/runtimeStyle

Материал из Web эксперт
Перейти к: навигация, поиск

"runtimeStyle" Example

   <source lang="html4strict">
   

<html> <body>

<button onclick="myDiv.runtimeStyle.backgroundColor = "blue";">Change div color</button> </body> </html>


     </source>