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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:14:16+00:00 2026-06-17T23:14:16+00:00

I am showing one div after hover on a link. I want to click

  • 0

I am showing one div after hover on a link. I want to click one of the link in new div, and after clicking any link div should be hidden.

you can see code at http://jsfiddle.net/xrcwrn/MEdRy/
html:

<div id="response">
            <a href="#">Response Request</a>
        </div>
    <div class="new_r_div hidden">
     <ul>
        <li><a href="#">Confirm</a></li>
        <li><a href="#">Delete</a></li>
    </ul>
 </div>

Jquery:

  $("#response").hover(function(){
$('.new_r_div').removeClass('hidden');
},function(){
   $('.new_r_div').addClass('hidden');
});

css:

 .new_r_div{
     position:absolute;
    width:100px;
    height:40px;
    background:#ccc;
    overflow: hidden;
    border: solid 2px #ccc;
    background: #99CCFF;

}
.hidden{
  visibility: hidden;
}
  • 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-17T23:14:18+00:00Added an answer on June 17, 2026 at 11:14 pm

    Try to put the hidden div inside the #response div

    Demo: http://jsfiddle.net/MEdRy/4/

    HTML:

    <div id="response">
        <a href="#">Response Request</a>
    
        <div class="new_r_div hidden">
             <ul>
                <li><a href="#">Confirm</a></li>
                <li><a href="#">Delete</a></li>
            </ul>
         </div>
    </div>
    

    JS:

    $("#response").hover(function(){
        $('.new_r_div').removeClass('hidden');
    },function(){
        $('.new_r_div').addClass('hidden');
    });
    
    $("#response li a").click(function(){
         $('.new_r_div').addClass('hidden');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to show the overlay over the div. After showing overlay i don't
I am writing a custom calendar, that consists of two parts, one div showing
How to fix the label for Gateway, which is the only one not showing.
I have one wordpress blog whose home page is showing a list of 10
I have to include one report in my application showing offline/online activity of few
i created one grid view application, it's working fine now showing all images in
I am using ASP.NET/C# .In one of my page I am showing list of
I have a DataGrid that is showing some data via a PagedCollectionView with one
I am using twilo client in one of my apps and it is showing
I have a sub query that returns one column, showing as GroupType, I then

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.