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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:29:57+00:00 2026-06-12T05:29:57+00:00

i have two lists which are based on jquery, sample is here i need

  • 0

i have two lists which are based on jquery, sample is here i need exactly same functionality but with slightchanges like follows:

as per the above when i click on Get items i get all the sortable items values but what i want is drag from List A and put them to List B and vise versa, if i click on get items i should get only sortable items on List B not from List A.

how to do this, can we customise the above jquery lib or is there any other even if they are in java script it is fine for me.

Please do help.

  • 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-12T05:29:58+00:00Added an answer on June 12, 2026 at 5:29 am

    I have done something similiar in the past, this is how I achieved it: http://jsfiddle.net/dazefs/vGYVX/

    <div style="background-color:Gray">
    
    <ul id="sortable">
        <li>
          <span style="background-color:yellow">
             Item 1
           </span>
    
         </li>
        <li>
         <span style="background-color:red">
           Item 2
         </span>
    
        </li>
        <li>
          <span style="background-color:green">
         Item 3
         </span>
    
      </li>
        <li>
        <span style="background-color:Blue">
               Item 4
         </span>
         </li>
       </ul>
    
    <ul id="sortable2" style="width:60%">
    <li>
        <span style="background-color:yellow">
            Item 5
        </span>
    </li>
        <li>
        <span style="background-color:red">
            Item 6
        </span>
    </li>
        <li>
        <span style="background-color:green">
            Item 7
        </span>
       </li>
        <li>
           <span style="background-color:Blue">
              Item 8
           </span>
       </li>
    </ul>
    
     </div>
    

    $(function () {
        $("#sortable, #sortable2").sortable({
            connectWith: "#sortable2, #sortable",
            receive: function (event, ui) {
                 alert('item has been sorted');
             }
        });
    
        //})
    });
    

    To achieve with 3 tile groups:

    http://jsfiddle.net/dazefs/XRdz6/

    http://jsfiddle.net/dazefs/vGYVX/

    You will have to modify this implementation slightly to incorporate getting items after “GetItems” is clicked.

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

Sidebar

Related Questions

I've got two long lists A and B which have the same length but
I have two lists which are guaranteed to be the same length. I want
I have two Drop Down Lists, the second ones are based off which one
I have two variables which are comma separated lists. I would like to join
Background I have two lists, the first is items which contains around 250 tuples,
I have two generic lists of type T. Both lists contain same type, and
I have two lists from which I have to get two values(MyCaption and MyValue).
I have two DropDown lists which are already populated from the database. If you
Suppose I have two lists of type MyCustomType , a class which could be
I have two lists. The types of both lists inherit from the same base

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.