So I want to get the css from a particular Element, put it in JSON-array, change element around, later restore the css of the element from the stored Array.
I tried:
var currentCSS = $(this).css;
The output is something like:
function (a,c) if(arguments.length....
So that seems it takes the function out of the jQuery, that's not what I want...
I could iterate through the wanted individual arguments, but there should be a better way...
Then later offcourse I'd try something like:
$(this).css(currentCSS);
But there might be no elegant solution to doing this...