In an application where certain elements have custom CSS properties, is there any way to retrieve such a value via JavaScript?
e.g.
function getCustomCssProperty(elementID, propertyName){ var style = document.getElementById(elementID).getAttribute("style"); var entries = style.split(";"); for (var i=0; i