'runtimeStyle' Example : runtimeStyle : Javascript Objects : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Objects   » [  runtimeStyle  ]   
 



'runtimeStyle' Example

    
<html>
<body>
<div id="myDiv" style="width:100; height:100;"></div>
<button onclick="myDiv.runtimeStyle.backgroundColor = 'blue';">Change div color</button>
</body>
</html>

    
      
      
Related examples in the same category
1.  'runtimeStyle' Syntax and Note
2.  'runtimeStyle' CSS Attributes and JavaScript Style Properties
3.  'runtimeStyle' Microsoft Filters
4.  'runtimeStyle' JavaScript Properties
5.  'runtimeStyle' JavaScript Methods
6.  'runtimeStyle' is applied to
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.