'currentStyle' Example : currentStyle « Javascript Objects « JavaScript Reference

JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Objects » currentStyle 

'currentStyle' Example

td {background-color:red; 
        <td width="1100" id="myCell">content</td>
<button onclick="alert(myCell.currentStyle.width);">Width of the table</button>


Related examples in the same category
1.'currentStyle' Syntax and Note
2.'currentStyle' CSS Attributes and JavaScript Style Properties
3.'currentStyle' JavaScript Properties
4.'currentStyle' JavaScript Methods
5.'currentStyle' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.