when I do this:
$("*:not(.oneClass,(.oneClass :nth-child(n)))")
or
$("*:not(.oneClass,.oneClass :nth-child(n))")
it returns 0 elements, but
$(".oneClass,(.oneClass :nth-child(n))")
returns only about half of the elements i get with
$("*")
am i doing something wrong?
is there any known bug's
I'm having some problems using the "not" selector on my jquery code. I
have elements that have one classname "first" and only one of them has
a second classname "second" (that is used in many other elements). I
want to select the elements that have the "first" but not the "second".
The se
Hi,
I tried a eg for :not operator.According to which it should not pick
up the Table header but it does .what am i missing.
One more question
what is the significance of putting the 'th' in the square bracket .is
it OK to write like this.
$('tr:not(th):even').addClass('even');
THnks
http
I'm looking for the quickest way to uncheck all of the checkboxes on a
page except for one with a given idea. I realize I could uncheck all,
then check one, but I'm curious if I can leverage not: to accomplish
what I want to do?
How to use :not in the selector was throwing me. Docs were down, but
back up (but very slow).
$
("[type=checkbox]:not('#specific_checkbox_id')").removeAttr('checked')
On Sep 3, 12:57 pm, Brad <[EMAIL PROTECTED]> wrote:
> I'm looking for the quickest way to uncheck all of the checkboxes on a
> p
Hi,
I am running the sample from the learning jquery book chap.2 on p.
28.
$('th').parent().addClass('table-heading');
$('tr:not([th]):even').addClass('even');
$('tr:not([th]):odd').addClass('odd');
It runs fine with the v1.1 that is included with the sample codes from
packtpub.com. How
Hi All,
I've googled and googled to no avail, this question has too many
instances of words like "not" in it and I'm struggling to find
anything useful.
I'm doing something quite complex but the crux of the question is
this, with a structure like so:
Menu Link
Menu Li
7 matches
Mail list logo