That has to do with the - not being a valid character for a property
name in javascript. Try either "text-decoration" or textDecoration.
The same is true for any css attribute with a - in the name
(background-image, font-size, margin-top, etc).

--Erik


On 3/29/07, Марат <[EMAIL PROTECTED]> wrote:
> Try  this
>
>     $('.anyclass').css({ text-decoration: "underline", cursor: "pointer",
> cursor: "hand" });
>
>
> --
> ____________________________
>
> B.r. Marat
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to