On Jul 17, 2008, at 3:59 PM, Carl Von Stetten wrote:


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

Actually, $all[0] returns the DOM element, too. But the second one should work just fine.


Reply via email to