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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:42:06+00:00 2026-06-14T05:42:06+00:00

does anyone know what it is that i’m doing wrong? I’m trying to have

  • 0

does anyone know what it is that i’m doing wrong?

I’m trying to have the “minus.png” on click, it’ll delete the DIV, however if you click the div text, it deletes the div.

I don’t want to be able to click the div and delete it on pulsate, I want to be able to click the minus png image, and it deletes it, would you happen to know what it is that I’m doing wrong?

I’m sure it’s a simple fix, but it’s bugging me badly haha!

Thanks!

<script>
  $(document).ready(function() {

      $(".pane").click(function () {
      $(this).effect("pulsate", { times:2 }, 0000).fadeOut('slow').parents(".pane");
});

  });
  </script>

  <div class="pane">
 <a href=""><img align="right" src="http://uploadir.com/u/6hmr4fr1" alt="delete" class="delete" /></a>  
  Simple jQuery script I'm learning to work with, you mad bro?
  </div>

  <div class="pane">
  <a href=""><img align="right" src="http://uploadir.com/u/6hmr4fr1" alt="delete" class="delete" /></a>  
  Simple jQuery script I'm learning to work with, you mad bro?
  </div>

  <div class="pane">
  <a href=""><img align="right" src="http://uploadir.com/u/6hmr4fr1" alt="delete" class="delete" /></a>  
 Simple jQuery script I'm learning to work with, you mad bro?
  </div>

  <div class="pane">
  <a href=""><img align="right" src="http://uploadir.com/u/6hmr4fr1" alt="delete" class="delete" /></a>  
  Simple jQuery script I'm learning to work with, you mad bro?
  </div>

FULL code is here:

http://jsfiddle.net/CgPJv/

  • 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-14T05:42:08+00:00Added an answer on June 14, 2026 at 5:42 am

    Maybe $(".pane") -> $(".pane > a")

    http://jsfiddle.net/CgPJv/6/

    You’re binding clicks on the whole div, instead bind them on the a element just like you said

    $(".pane > a").click(function (event) {
        event.preventDefault();
        $(this).parent().effect("pulsate", { times:2 }).fadeOut('slow');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know that when you have autosync enabled, how frequently are the google
Does anyone know if OSCache is underdevelopment or not? I know that OpenSymphony is
Does anyone know a C# framework that can generate public/private keys, X.509 certificates and
Does anyone know of any (free) tools that will convert an old Delhi 5
Does anyone know of a jQuery plugin that has 'helpers' or extensions like those
Does anyone know of an algorithm that will merge treenodes in the following way?
Does anyone know of a firefox plugin that allows you to view what a
Does anyone know of an editor that has the ability to enforce exact line
Does anyone know of a List implementation that has a constant time get(int index)
Does anyone know of a resource that will tell me the sequence of locks

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.