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") o
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 = $('
Are already tried remove .get(0)?
Cos .get(0) return the element its self.
and element dont have css function, only jQuery has.
On 17 jul, 16:07, jquertil <[EMAIL PROTECTED]> wrote:
> $all = $('.listing > .myDivs');
> $all.get(0).css('color','#339900');
>
> why
3 matches
Mail list logo