Comments (6)
[msilvalopes@4/11/2010]
is just do
[js script]
$("#list1").dragsort({ dragSelector: "div", dragBetween: true, dragEnd: saveOrder, placeHolderTemplate: "" });
function saveOrder() {
var serialStr = "";
$("#list1 li").each(function(i, elm) { serialStr += (i > 0 ? "|" : "") + $(elm).children().html(); });
$.post('submitOrder.php',{'neworder':serialStr},function(result){
alert(result)
});
};
[example of work result on php]
from dragsort.
[msilvalopes@4/11/2010]
ops, i forgot to send the files
from dragsort.
[msilvalopes@4/11/2010]
p.s.: i forgot to say i disabled the second list
from dragsort.
[mcm_ham@25/02/2012]
Implemented for 0.4.
** Closed by mcm_ham 11/20/2010 2:37 PM
from dragsort.
[mcm_ham@25/02/2012]
from dragsort.
[llorca@13/12/2012]
Hi how can I dragsort stop and start? Or disable and enable? In other function.
Because I want to use with together Uploadify.
Photo instantly uploading I want to stop or disable dragsort.Thank you.
from dragsort.
Related Issues (20)
- Position of "placeholder" based on mouse cursor location, instead of LI box HOT 2
- dragEnd callback doesn't always fire when it should HOT 2
- Not able to drop an item to last row HOT 1
- Not able to drop an item to last row HOT 1
- DragSelector "visually outside" of the sortable element
- Add Tolerance to trigger to avoid missing click
- scrollContainer loses correct item offsets when dragging
- dragsort won't initialize if all lists are empty HOT 1
- No data-listidx attribute on list items when using multiple lists HOT 1
- Broken layout with dimensions in percentages
- Dropping in container element does not work
- Error in ie 8
- Allowing a <thead> header block...
- Draggable item with scrollbar inside
- Won't work with jQuery 1.9 and later HOT 2
- When multiple containers
- drag in iframe html body
- Complex itemSelector does not work.
- Does not work with jQuery 3.x
- find a bug about JQuery.browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragsort.