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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:37:30+00:00 2026-06-03T13:37:30+00:00

I’m trying to upgrade jQuery from 1.4.1 to 1.7.1 and found a problem with

  • 0

I’m trying to upgrade jQuery from 1.4.1 to 1.7.1 and found a problem with the jQuery UI droppable functionality. I’m using jQuery 1.8.16 and this Multi-Select, Drag & Drop plugin and found that my page that utilizes it does not work anymore after the upgrade. After many hours of debugging I found out that the event object’s target attribute does not contain the same element anymore.

It’s easiest explained with an example, so I created this on jsfiddle.

$(function() {
  $("#draggable").draggable();
  $("#droppable").droppable({
      drop: function(event, ui) {
          $(this).addClass("ui-state-highlight").find("p").html("Dropped!");
          $('#target-content').html($(event.target).html());
      }
  });
});

<div class="demo">      
<div id="draggable">     
    <p>Drag me to my target</p>
</div>  
<div id="droppable">
    <p>Drop here</p>
</div>
<div id="test"></div>
</div>

Now, when you use the jQuery 1.5.2 (or 1.6.4, but this version does for some reason not contain jQuery UI) on jsfiddle, and you drag the red box onto the green box, the event.target is refering to the green box, thus showing the text inside. However, when you use jQuery 1.7.x, the event.target is referring to the red box!

To me this seems to be lack of support for jQuery 1.7.x in jQuery UI 1.8.x, and I can’t find any place on the homepages where this would be mentioned.

Now, what should I do? I can fix it in the Multiselect, Drag & Drop plugin, but that will probably break it again if this bug is fixed later.

  • 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-03T13:37:31+00:00Added an answer on June 3, 2026 at 1:37 pm

    It’s some time ago now, but better late than never.

    A few versions has been released since version 1.8.17 (at the time of writing, the current version is 1.8.20).

    On js fiddle one can now select jQuery 1.7.2 with jQuery UI 1.8.18, see this example.
    It seems to work in this version, so let’s hope it does so in the future versions too.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am reading a book about Javascript and jQuery and using one of the
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Does anyone know how can I replace this 2 symbol below from the string
I am currently running into a problem where an element is coming back from
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has

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.