I am not sure if this is possible. But the concept is similar to SASS variables but using jQuery instead. So lets say I wanted to have reusable CSS attributes for jQuery. For example...
I want to make a variable that I can reuse for the color black
var black = .css('color','#000');
var white = .css('color','#FFF');
This obviously doesn't work because the syntax is wrong... but you get the picture I hope.. So then later I could do this...
$('#myelement').css(black);
Is it possible to do something like this?