Try this plugin:

http://plugins.jquery.com/project/Rule

Karl Rudd

On Sun, Dec 7, 2008 at 9:50 AM, Dirceu Barquette
<[EMAIL PROTECTED]> wrote:
> Hi!
>
> How can I add a class with its attrs dynamically?
>
> like this (not works, obvious ...)---> $('#div').addClass('blah
> {background:"#000"}')
>
> Thanks,
>
> Dirceu Barquette
>

Reply via email to