Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6117257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:18:00+00:00 2026-05-23T15:18:00+00:00

I have a wrapped set like this: var $anchors = $(‘a’); I then do

  • 0

I have a wrapped set like this:

var $anchors = $('a');

I then do some JQuery code to confirm a deletion and etc… everything was working great until I started adding other anchors to my site that have classes that do different things

I’m trying to use the :not in JQuery to eleminate certain classes from this generic anchor wrapped set, so that the configme delition and etc doesn’t occur, but can’t seem to get it to work… what am I missing? Here is the updated selector I am trying to use:

var $anchors = $('a:not(".excludedanchorclass")');
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:18:00+00:00Added an answer on May 23, 2026 at 3:18 pm

    You can also use jquery filter

    var $anchors = $('a').filter(':not(.excludedanchorclass)');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem I have such code var ls = src.iter.toList src.iter = ls.iterator (this is
I have 3 gits wrapped by a manifest file (this manifest file is in
How can I select the 1st item in a wrapped set? I have $(:radio)
I have the following code: $('.getcode').click(function () { $('textarea').val(); var str = []; $('#group-wrap
I have a table that has rows like this: <tr id= class=objectRow> <td class=bulkSelector><input
I have a main wrapper div that is set 100% width. Inside that i
I have managed to set up Cassandra + Thrift and the Python wrapper for
I have wrapped Log4net in a static wrapper and want to log loggingEvent.LocationInformation.MethodName loggingEvent.LocationInformation.ClassName
I have items wrapped in wrap panel. I want to move first line of
I have a asp:ListBox wrapped inside an asp:UpdatePanel. The list box contains all the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.