I can access my CSS with JQuery like so:
alert($(".sliver1").css('width'));
The console reports that the .css property of "this" is undefined:
var sliver = "sliver";
$("section").each(function()
{
if(this.className.indexOf(sliver) !== -1)
{
alert(this.css('width'));
}
});
How can I access the CSS of the elements found?
Thank you.