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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:11:56+00:00 2026-06-04T06:11:56+00:00

I am using jQuery sortable to allow users to rearrange <li> in a <ul>

  • 0

I am using jQuery sortable to allow users to rearrange <li> in a <ul> list. HTML only contains

<ul id="uisortable"></ul>

And the javascript contains this:

$(function() {
    $('#uisortable').sortable();
    $("#uisortable").disableSelection();
});

The items are added dynamically from JS and after adding the items, I’m calling

$(‘#uisortable’).sortable(“refresh”);

Everything works perfectly fine in FF, Opera and Webkit, but does not work at all in IE – any version, even IE 9. I tried adding activate option to the sortable like this:

$('#uisortable').sortable({
    activate: function() {
        throw("Start sorting");
    }
});

In IE 9 script debugger, I put a breakpoint on line throw("Start sorting") – but that line never activates. It seems like in IE the sortable is simply not attaching itself to the list.

I’m using jquery 1.4.2 with jquery UI 1.8.13.

Interestingly, jquery ui sortable demo page works fine, so it’s got to be something with my code – but how much further can I simplify it? Ok, I can – so I did. Instead of dynamically creating the items, I created them statically (for testing) in my HTML. I removed everything from the <li> except one line of text. Now my HTML looks like this:

<ul id="uisortable">
    <li class="sortitem">Item 1</li>
    <li class="sortitem">Item 2</li>
    <li class="sortitem">Item 3</li>
</ul>

With the above javascript code. Still, not working in IE. And no errors of any kind in the error console. Fine in FF, Webkit and Opera though. I’m totally stumped now. Any help is greatly appreciated.

  • 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-04T06:11:58+00:00Added an answer on June 4, 2026 at 6:11 am

    Apparently, the problem was related to the jquery.ui version. I upgraded from 1.8.13 to 1.8.20 (much easier than upgrading jquery from 1.4.2 to 1.7.2) – and now it works!

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

Sidebar

Related Questions

i am using this jquery to make a drag and drop sortable list. http://jqueryui.com/demos/sortable/
I'm using jQuery UI's sortable list to allow the user to drag and change
I am using jQuery UI; Draggable http://jqueryui.com/demos/draggable invoked like this: $(document).ready(function(){ $(#side_bar).sortable({ revert: true
I'm using jQuery UI sortable to allow the user to shuffle the list, but
I have built a sortable list using jQuery UI's sortable feature, this is working
I am using the JQuery.Sortable() function to create a reorderable list of items like
I'm using jQuery UI Sortable to make a list categorizable. I'm stuck on the
I am struggling to get a list created by Ember.js sortable using jQuery.ui. The
I have a list made as sortable using jQuery UI. The first list item
I have am using a sortable jQuery list. I would like to send the

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.