Using jQuery sortable plug-in , you can sort selected element by mouse drag.
Given below the necessary code line, which needs to included for this effect :
$("#element").sortable();
For options, events ,method and theming click here<!DOCTYPE html> |
Output :
You can drag element from mouse and place it anywhere in series :

Learn from experts! Attend jQuery Training classes.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: jQuery UI Interaction : Sortable
Post your Comment