Is it possible to alter a specific style with a CSS class using jQuery or JavaScript?
For example, if the HTML looks like this:
<tab>
<a class="anchor">a</a>
</tab>
And the CSS looks like this:
a {border:1px}
.anchor {color:green}
If I want to retrieve the styles applied by the .anchor class, I would use something like:
$('.anchor').myReturnStyle()
which should return the color or an array of styles if there are more than one applied to .anchor
$('.anchor').MyReturnStyleValue('color') returns 'green'
However,
$('.anchor').returnStyleValue('border')
would return false as this property is not changed by the .anchor Class.