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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:47:15+00:00 2026-06-08T10:47:15+00:00

I have a question for the jQuery gurus among you. Scenario I’m building a

  • 0

I have a question for the jQuery gurus among you.

Scenario

I’m building a web app that (among other things) allows users to sort cards inside of large table. One feature of this table is a bin that is fixed to the top of the table, but “pinned” to the rows at the same time. It allows users to place cards in a bin that associated with a column, but not a row.

Here is a stripped down jsFiddle example (which was a pain to make) to show you what I mean.

Problem

The problem is, if you scroll down a ways in the table and then try to drag a card from table into the bin, it doesn’t usually work. What happens instead is that card gets placed in the table cell “behind” the bin that the user can’t see. Hope that makes sense.

Question and Plan of Attack

I’m thinking the best way to solve this issue is to somehow disable dropping in all of the cells in the table except the bin as soon as the user mouses over the bin. That way the card will be sure to land in the bin and not in the table cell behind the bin.

Do you agree? Is there a better way to fix the problem?

Notes

You may see my implementation and wonder why I’m implementing things the way I am. (Such as why I’m using table cells instead of divs for the bin, the top row, and the left column.) Unfortunately, I can’t completely explain why I chose the implementation I did, but realize I am operating under a number of constraints this example does not show. So… I’m open to advice on how to improve the layout, but please don’t answer this question with “Well, why don’t you set things up this ‘this’ way instead and then you won’t have to deal with the issue, because odds are your suggested setup won’t work for me for some reason.

Let me know if I need to clarify anything. Thanks a ton to anyone who answers!

  • 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-08T10:47:17+00:00Added an answer on June 8, 2026 at 10:47 am

    This would do (fiddle):

    $('#binRow').mouseenter(function() {
        $('tr:not("#binRow") td.card-holder')
            .removeClass('card-holder')
            .addClass('disabled-card-holder');
    }).mouseleave(function() {
        $('.disabled-card-holder')
            .removeClass('disabled-card-holder')
            .addClass('card-holder');
    });​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding jQuery. I have multiple images that are, in essence,
I have a jQuery question: I have an ADD button that adds text to
I have a question form that I want to validate using jquery. My form
building on my last question jQuery getting values from multiple selects together I have
I have a question concerning functions with jQuery. I have a function that once
I have a newbie question about jQuery. Why is it that I can trigger
A jquery question. I have a div that contains text and an anchor tag.
i have one question about jquery ajax().. I created a table grid and there
I have a question about jQuery load best practice. Imagine the following situation: $(#div).on('click',
I have a simple question regarding jQuery selectors. I'm using the tablesorter and I

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.