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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:30:13+00:00 2026-05-27T16:30:13+00:00

I have jquery ui sortables working fine but my sortable elements have other interactive

  • 0

I have jquery ui sortables working fine but my sortable elements have other interactive elements within them. In order to prevent accidental sorting when interacting with the elements within the sortable divs, I’d like to somehow make the dragging movement for the sortables only occur when dragging a certain element within the sortable, such as a ‘move’ icon that might reside in the top left corner of each sortable. Is this possible with generic jqui, or would I need to write my own hook?

  • 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-27T16:30:13+00:00Added an answer on May 27, 2026 at 4:30 pm

    The option handle of the plugin allows you to define that is the element that can initiate the sort. You can provide a selector or an element.

    If you have this html, with the .handler to be the handle to start the sort:

    <ul class="sortable">
        <li>
            <span class="handle"></span>
            My element
        </li>
    </ul>
    

    Apply the option like this:

    $( ".sortable" ).sortable({ handle: '.handle' });
    

    You can style your handle element however you like.

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

Sidebar

Related Questions

I have working in jquery sortable, all are working fine. but empty div will
I'm working with a demo of two sortable jquery lists... but have a problem
I have jquery validation code which is working fine in ff but the same
I have multiple JQuery sortable lists that connect with each other... They allow you
I'm working with jQuery's UI sortables and have created a system of divs in
I have been working with jquery-ui's sortable demo for a while. On looking closely,
I have built a sortable list using jQuery UI's sortable feature, this is working
I'm working with the jQuery sortable plugin( 2 connected lists) and have a strange
I have the following ListView in which I am using the JQuery UI sortable
I have jQuery to select all font elements that are children of the element

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.