in that case you want
$("table").addclass("tablesorter");
though that will add the tablesorter class to all tables. If you want to add
it only to one table, best to have an id on the table, then do:
$("#myTableId").addClass("tablesorter");
- Richard
On Wed, Jul 2, 2008 at 1:26 PM, Robert Djura
Hi Richard,
I currently have ...and i would like to change it into
will this do the trick?
robert
On Jul 2, 1:13 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> $("table.tablesorter").addClass("newclass");
>
> - Richard
>
> On Wed, Jul 2, 2008 at 12:41 PM, Robert Djurasaj <[EMAIL PROTECT
curently i have and i would like to end up with ...
will this do it??
On Jul 2, 1:13 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> $("table.tablesorter").addClass("newclass");
>
> - Richard
>
> On Wed, Jul 2, 2008 at 12:41 PM, Robert Djurasaj <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Does a
$("table.tablesorter").addClass("newclass");
- Richard
On Wed, Jul 2, 2008 at 12:41 PM, Robert Djurasaj <[EMAIL PROTECTED]>
wrote:
>
> Does anyone know how can i add a class into existing table element
> using jQuery??
>
> ex:
>
4 matches
Mail list logo