I know that I can get a specific property
$('somediv').css('position')
But I want to get all of the properties that are set on $('somediv')
What I'm trying to do is create an entry in a .css file based on $('somediv')
. I won't know what styles will be set on $('somediv')
so I'm looking for a way to get all the styles with out explicitly requesting each one.