use CSS classes.

--
Ariel Flesler
http://flesler.blogspot.com/

On 15 jul, 19:35, jquertil <[EMAIL PROTECTED]> wrote:
> #myDiv {height:200px;background: #FF9900;}
>
> $('#myDiv').css(height'); // returns "200px'
>
> but how can I get the whole enchilada so I have it in a nice and neat
> object?
>
> I imagine something like this:
>
> $myCSS = $('#myDiv').css();
> $('.otherDivs').css( $myCSS);

Reply via email to