does anyone know how can i get all styles applied to an id using jquery (so i can reuse it later in another tag)? something like css:
div#myid{
width:100px;
height:100px;}
so i can later do something like:
for (var parts in $('#myid').css())
alert ('all parts of the style' + parts);