Is there a way in jQuery to get all CSS from an existing element and apply it to another without listing them all?
I know it would work if they were a style attribut
Why not use .style of the DOM element? It's an object which contains members such as width and backgroundColor.
width
backgroundColor