I'm trying to search the net, but no result... Simple; how can I get other tag's css and add it to other on click? For example:
I have b
tag with css. I need to copy it's css to a
tag on click.
var css = $('b').css();
$('.switch > a').click(function() {
$(this).css(css);
});
Is it something like this?