jquery - grab all divs which does not have a class -
I am trying to capture the div
elements which do not have a specific class, which < Code> active .
The code is:
$ (currentcontentive) .addClass ('active');
Now, there is also a square slidingDiv
in currentContainerDiv
and now I want to capture all the other div
slidingdiv
, where active
is not attached
How can it be obtained?
I tried it, but it does not work:
$ ('slidingDiv'). No. (Current Contraction) .removeClass ('fried');
Try it:
$ (' SlidingDiv: no (.active) '.) RemoveClass (' folding ');
As you said in "Current ContainerDive" also there is class = "Sliding Div" so there is no need to add any filter for this.
Comments
Post a Comment