troubleshooting Question

JQuery UI [Sortable]:  Help with input textbox in LI

Avatar of skillilea
skillilea asked on
8 Comments1 Solution807 ViewsLast Modified:
Issue:  Input box is locked when I enable the sortable.

Here is my doc ready:

    //  handle drag sort for pareto SORT
        cancel: ".fixed",
        delay: 100,
        //connectWith: "",
        stop: function (event, ui) {
            p.HandleSortPareto(ui, ui.item)  // note this just handles the change in order
        start: function (event, ui) {

Here is my li build:

                t += "<li data-id='" + d.ItemID + "' class='jqSortParLI'>" +
                       "<div><img src='/img/site/hb_16x16.png' class='jqSortParHand' /></div>" +
                       "<div><input id='ParITEMX_" + d.ItemID + "' class='parINP' type='text'  maxlength='120'/></div>";
                var a = (d.IsActive ==1) ?" checked" : "";
                t+=       "<div><input type='checkbox' " + a + "/></div>" +

The container UL is:  #jqParetoEditList

Any help would be awesome.

Note: The sort works just fine it's trying to edit the text in the input boxes that is locked.

thanks in advance.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros