jquertil,

Try:

$all[0].css('color','#339900');
or
$all.eq(0).css('color','#339900');

As Alexsandro pointed out in his response, .get(0) returns the actual 
DOM element, not a jQuery object, so you can't use jQuery functions 
(like ".css") on it.

Carl

jquertil wrote:
>               $all = $('.listing > .myDivs');
>               $all.get(0).css('color','#339900');
>
> why would this throw an error "function css does not exist" ??
>
> I tried this too with no luck:
>
> $('.listing > .myDivs').get(0).css('color','#339900');
>
>
>   

Reply via email to