'currentStyle' Syntax and Note : currentStyle « Javascript Objects « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Objects » currentStyle 
'currentStyle' Syntax and Note

Note:

Returns all the styles applied to an element. 
It differs from the style object in that the style object only returns the styles 
that have been applied to the element inline.
    
Syntax:
    
document.all.elementID.currentStyle.memberName

    

      
      
Related examples in the same category
1.'currentStyle' CSS Attributes and JavaScript Style Properties
2.'currentStyle' Example
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.