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

  • SEARCH
  • Home
  • 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 7886231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:16:01+00:00 2026-06-03T05:16:01+00:00

Here are my Codes … I want to remove Elements that are listed in

  • 0

Here are my Codes … I want to remove Elements that are listed in “removeElements” array if they exist.
so i made a loop through that array.
If that array starts with element which exists in variable X everything works fine. like :

var removeElements = new Array(".cindymenubar", ".menu", ".drop-menu-layout", ".right-menu", ".menu-box", "#nav", "#MainHMenu", "#MainVMenu", ".slide-menu-layout");

but if it start with element that doesn’t used in variable X null will return

  • 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-06-03T05:16:03+00:00Added an answer on June 3, 2026 at 5:16 am
        $.each(removeElements, function(index, val) {
           $(x).remove(val);
        });
    

    OR:

         var TempHTML = $('<div/>').html(x);
         $(removeElments.join(', '), TempHTML).remove();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here I'm pasting my codes where I want to retrieve Bundle version from my
I want to use tabs but it don't work. Here my .java codes :
am trying to make a worker thread using MFC so here is the codes:
I use Google Visualization API to plot Line Chart. Here are the codes: google.load(visualization,
here is the sql codes SELECT roles.role_id, usertype_module.role_id, usertype_module.viewable, usertype_module.editable, usertype_module.createable, modules.modules_id, usertype_module.modules_id, modules.modules,
Here comes a simple question, for all those who know javascript. I made an
As I don't want to hijack another thread here comes my question about mappings.
I have a block of codes here: SortedList<char, int> alpha = new SortedList<char, int>();
I am working with sockets. Here are my codes (the description of problem is
Feel free to run the codes here: http://codepad.org/SAOaOABn Code: <?php $time = time(); echo

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.