what i'm trying to do is to get the text that is contained by the
moved li, after the list item was moved. Is there a way to do that?
i tried: $(ui.item).text() but i get an ui is not defined error (i
imported just jquery.js, ui.core.js and ui.sortable.js , do i have to
import something else?)
i tried: $(ui.item).text() but i get an ui is not defined error
that would potentially be a valid way to do it, but without any of
your code to work with, it's hard to help with that
hello,
have such a structure in HTML which finally looks like shown on this
image
http://www.screencast.com/t/LNfPgoOWUf7:
--
div
id=trip_content
div class=productCart
id=dest1
div
class=itemHeading
sorry this URL
http://www.screencast.com/t/LNfPgoOWUf7
Could you put together a live sample on jsbin.com:
http://jsbin.com/
http://jsbin.com/Also, note there's a dedicated list for jQuery UI
questions:
http://groups.google.com/group/jquery-ui
Thanks.
http://groups.google.com/group/jquery-ui- Richard
On Tue, Aug 4, 2009 at 4:05 AM, EugeneS
here i made a small sample so you can see the problem in action
http://zaslugi.ru/temp/demo.html
coz i already posted request here will try to receive help here to bot
create multiple clones ...
and then will try to post in UI group :\
Thanks.
On Aug 4, 11:42 am, Richard D. Worth
.sortable() needs to be called on the container element #trip_content, not
each child. Then you can use the handle option to make each child sortable
only by the .itemHeading:
$(#trip_content).sortable({
handle: .itemHeading
});
- Richard
On Tue, Aug 4, 2009 at 5:32 AM, EugeneS
o ... thanks a lot :) its time to get some rest ... coz patience
now = 0 :)
once again thanks :)
On Aug 4, 12:43 pm, Richard D. Worth rdwo...@gmail.com wrote:
.sortable() needs to be called on the container element #trip_content, not
each child. Then you can use the handle option to make
Hi!
I'm wondering how I can limit the dragability of an sortable item,
to ex. a element inside the item.
Meaning, I only want the item to sort when the header of the item is
draged.
Is there a simple way to do this, or do I have to modify core code/
create a helper to accomplish this
I have few lists with ui sortable/droppable and I want to have let say
max 4 elements in one. So:
$(ul[id^='sortable']).sortable({
connectWith: '.user-list',
dropOnEmpty: true
})
$(.accept-drop).droppable({
drop: function(event, ui) {
//some code
I have few lists with ui sortable/droppable and I want to have let say
max 4 elements in one. So:
$(ul[id^='sortable']).sortable({
connectWith: '.user-list',
dropOnEmpty: true
})
$(.accept-drop).droppable({
drop: function(event, ui) {
//some code
Hello all and thanks for looking,
I'm trying to use serialize option for ui sortable but each li has
multiple inputs and I want to get the inputs back not just the record
id
example
ul
li id=items_1
input type=text id=field_1 value=hello /
input type=text id=field_2 value=goodbye /
/li
ul
li
Hi,
I was just playing with jQuery UI sortable.
Whenever an element is sorted, I want to call a function.
eg. There are five paragraph elements containing A, B, C, D, E.
After every sort, I want to check it the current order is EDCBA or
not.
How can I do this?
Thanks :)
/group/jquery-ui/about
- Richard
On Tue, Feb 17, 2009 at 6:54 PM, Ashit Vora a.k.v...@gmail.com wrote:
Hi,
I was just playing with jQuery UI sortable.
Whenever an element is sorted, I want to call a function.
eg. There are five paragraph elements containing A, B, C, D, E.
After every sort, I
I am having a little trouble with the update callback when i drag an
item from one Sortable to another.. the update function gets called
twice.. is there anyway around this or am i going to need to think of
a way around the 2nd call?
The calls are going to be sending a json array to the backend
i face this mistake and you can access this page:http://dev.jquery.com/
browser/trunk/ui/current/ui.sortable.js?rev=3666
Michael Stuhr schrieb:
in addition to this, i'm getting constantly errors while trying out
the demo under:
http://docs.jquery.com/UI/Sortables/sortable#options
firebug keeps tracing errors after dropping one of the items ... i had
to reload the whole page to stop this.
I can second that.
17 matches
Mail list logo