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 6748135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:31:45+00:00 2026-05-26T12:31:45+00:00

Current code. —— <div class=wrapper> <div class=page-1></div> <div class=page-2></div> <div class=page-3></div> </div> <div class=wrapper>

  • 0

Current code.

 ------

        <div class="wrapper">
             <div class="page-1"></div>
             <div class="page-2"></div>
             <div class="page-3"></div>
        </div>
        <div class="wrapper">
             <div class="page-4"></div>
             <div class="page-5"></div>
             <div class="page-6"></div>
        </div>

------

//Jquery finds page-4 and removes whole wrapper element.

------
    <div class="wrapper">
         <div class="page-1"></div>
         <div class="page-2"></div>
         <div class="page-3"></div>
    </div>

------

I simply want that page-4, and its wrapper not the other wrappers.

Havn’t figured it out yet how to exact fix this prob.
Im open to any suggestions 🙂

  • 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-26T12:31:46+00:00Added an answer on May 26, 2026 at 12:31 pm

    You can use

    $('.page-4').closest('.wrapper').detach(); or .remove()
    

    Here is the working fiddle
    http://jsfiddle.net/yUsqC/2/
    This will remove only the parent wrapper not other wrappers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My current code is as follows: <div class=fr_search> <form action=/ accept-charset=UTF-8 method=post id=search-theme-form> .......
current code I've built function to do something over collection of jQuery elements: var
Converting my current code project to TDD, I've noticed something. class Foo { public
Here is the current code I am using: <UserControl xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml x:Class=ButtonPrototype.MainPage Width=640 Height=480>
This question is related to a previous question of mine That's my current code
I am using the current code: $('body').mousedown(function() { $('div#extras').fadeTo('fast', 1); }); $('body').mouseup(function() { $('div#extras').delay(2000).fadeTo(1500,
Current code: row.column.each(){column -> println column.attributes()['name'] println column.value() } Column is a Node that
Here is my current code (that i am very proud of for my first
This is what the current code looks like: public static class WidgetFactory { public
Here's my current code: if (Key.isDown(Key.UP)) { //do stuff } What I want to

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.