Returns current computed style value of the DOM element given by parameter element for attribute given parameter attribute.

Namespace:  C1.Web.iPhone
Assembly:  C1.Web.iPhone.Client (in C1.Web.iPhone.Client.dll)

Syntax

JavaScript
C1.Web.iPhone.Common.getCurrentStyle = function(element, attribute, defaultValue);

Parameters

element
Type: DOMElement
DOM element.
attribute
Type: System..::..String
name of the attribute.
defaultValue
Type: System..::..Object
Default value that will be returned if value of the attribute can not be injected from current element style.

Return Value

Current style value.

See Also