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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:29:42+00:00 2026-05-23T20:29:42+00:00

Here my Jquery: $(.list).draggable({helper: ‘clone’, cursor: ‘hand’}); $(.drop1).droppable({ accept: ‘.list’, hoverClass: ‘dropareahover’, drop: function(ev,

  • 0

Here my Jquery:

    $(".list").draggable({helper: 'clone', cursor: 'hand'});
    $(".drop1").droppable({
        accept: '.list',
        hoverClass: 'dropareahover',
        drop: function(ev, ui){
         var targetId = $(this).attr("id");
         var allTargets = $("#" + targetId, ".tble");
         $("#" + targetId).each(function() {         
            //here i have to write the conditions.                      
            });
        }
 });      

i need to place the content into particular area. if i place the content other area. it will not accept.

  • 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-23T20:29:43+00:00Added an answer on May 23, 2026 at 8:29 pm

    Could this be what you are looking for? (the revert option for jquery draggable)

    $(".list" ).draggable({ helper: 'clone', cursor: 'hand', revert: 'invalid'});

    From: http://jqueryui.com/demos/draggable/

    If revert set to true, the element will return to its start position
    when dragging stops. Possible string values: ‘valid’, ‘invalid’. If
    set to invalid, revert will only occur if the draggable has not been
    dropped on a droppable. For valid, it’s the other way around.

    Code examples

    Initialize a draggable with the revert option specified.

    $(".selector" ).draggable({ revert: true });

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

Sidebar

Related Questions

I am having an issue related jQuery draggable and droppable. Here is description something
I'm using jQuery UI's draggable and droppable libraries in a simple ASP.NET proof of
Here is client Side code: jQuery(document).ready(function(){ jQuery(#list).jqGrid({ url:'example.php', datatype: 'xml', mtype: 'GET', colNames:['Inv No','Date',
Here is the JQGrid setup information jQuery(document).ready(function () { jQuery(#list).jqGrid({ url: '/TabMaster/GetGridData', datatype: 'json',
Here is jquery code which hides my table cells with the ID of .style2:
We use the excellent validator plugin for jQuery here on Stack Overflow to do
I am using the superfish plugin for jquery here: clicky it works fine in
I have created a dropdown menu with jquery: here Everything is ok but in
Here's my jQuery: var docname = $('#doc').val(); function parseXml(xml) { $(xml).find(rsp).each(function() { alert(success); });
Here is my jQuery code: $.get('/Home/GetList', function(data) { debugger; $('#myMultiSelect').val(data); }); Here is my

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.