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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:35:11+00:00 2026-06-12T17:35:11+00:00

I am new to Jquery and I am trying to following this article Jquery

  • 0

I am new to Jquery and I am trying to following this article Jquery Example to setup this but I am unable to drag my Items around. Im not sure what i am doing wrong. My code is below. Thanks,

<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>

$(function () {
   $("#<%=dlProcessList.ClientID %> tbody").sortable({
       handle: ".handle",
       placeholder: 'ui-state-highlight',
       cursor: 'move',
       start: function (event, ui) {
           ui.placeholder.height(ui.helper.height());
       }
   }).disableSelection();
});        

<asp:DataList ID="dlList" runat="server" >
  <HeaderTemplate>
      <tbody>
  </HeaderTemplate>

  <ItemTemplate>
       // My Data to display
  </ItemTemplate>  

  <FooterTemplate>
      </tbody>
  </FooterTemplate>
</asp:DataList>
  • 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-12T17:35:12+00:00Added an answer on June 12, 2026 at 5:35 pm

    Try this:

    Add “//” to your script imports, like this:

    <script src="//code.jquery.com/jquery-1.8.2.js"></script>
    <script src="//code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    

    Also remove all the sortable options and just use the defaults to see if you can get it working…

    Change this:

    $(function () {
       $("#<%=dlList.ClientID %> tbody").sortable({
           handle: ".handle",
           placeholder: 'ui-state-highlight',
           cursor: 'move',
           start: function (event, ui) {
               ui.placeholder.height(ui.helper.height());
           }
       }).disableSelection();
    }); 
    

    To this:

    $(function () {
        $("#<%=dlList.ClientID %> tbody").sortable();
    });
    

    See if that gets it working.

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

Sidebar

Related Questions

I'm new to JQuery.But, I am trying to do this using it. I have
I am relatively new to jQuery, I am trying to work around this code
I've been trying to use the new jquery-ui, and all but the resizable function
I'm new to jquery and trying to play around with it. I want to
I'm new to jQuery mobile and Phonegap. Sorry if this is not the place
I'm new to jQuery and I'm trying to do the following: <div class=test>text</div> I'm
Hi everyone I am a new to jQuery. While learning I am following this
I'm new to JQuery but am finding it really useful. I'm trying to highlight
I'm new to jQuery and I'm trying to do the following: access the child
my first post here. I'm not new to JQuery, but I find complex coding

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.