an
saurus
tags:
jquery-ui
sortable
views:
79
answers:
1
Q:
jquery sortable, how can i get element's new position?
how can i get the
<li>
new position in the list ?
A:
got it!
$(ui.item).prevAll().length + 1
kmunky
2010-01-05 06:05:09
related questions
jQuery UI: Best way to load HTML markup?
Show parents element's item
jQuery: Creating a circular slider
Object doesn't support this method for jquery ui draggable in IE
Does the jquery Droppable hoverClass work in Internet Explorer?
How do I hide the next/today/previous navigation in jQuery DatePicker and turn off animations?
How do I connect multiple sortable lists to each other in jQuery UI?
jQuery two sliders controlling each other
jQuery UI - when to use destroy
jQuery Safari/Chrome incompatibility with draggable containment property
Radio Buttons getting deselected when dragging item using jQuery Sortables
How to trigger rendering of JQuery treeview
Detecting jQuery UI autocomplete
JQuery UI Tabs Causing Screen to "Jump"
JQuery Tabs - issue with nested tabs - Activating sub tab on initial load
ASP.net MVC and jQueryUI dilemma
jQuery: How to stop a helper from being removed if it wasn't successfully dropped.
jQuery tabs - getting newly selected index
What is the most stable modal dialog implementation across browsers to use from javascript for a web app?
jQuery UI droppables - changing the image that's dropped
Hook into dialog close event
Trying to resize a jQuery dialog in IE6?
Trouble having a modal dialog to open a secondary dialog
using load() to load page that also uses jQuery
How do I get a result from a modal dialog in JQuery