[jQuery] i wish there was a way to get the entire CSS for an element... or is there?
#myDiv {height:200px;background: #FF9900;}
$('#myDiv').css(height'); // returns "200px'
but how can I get the whole enchilada so I have it in a nice and neat
object?
I imagine something like this:
$myCSS = $('#myDiv').css();
$('.otherDivs').css( $myCSS);