Get *all* CSS attributes with jQuery

See this live example using the jQuery attribute selector

$(document).ready(function() {
    alert($("#stylediv").attr('style'));
});​

Leave a Comment