OK, this is probably quite easy, but I cannot find it on Google or stackoverflow.
Instead of
var color = $(div).css('color')
I want to store the css in a variable.
var theCss = $(div).css  
var color = theCss('color')  // no, doesn't work
Is it at all possible? Of course the reason why I want this is much more complicated, so I would be very much helped if there is somehow a way to store
theCsswill always return the actual calculated value of the element or the one the element had at the time you dovar theCss = $(div).css