[jQuery] Sortables - accessing elements in each container

2009-07-24 Thread tecmo
I have some sortable div containers numbered 1 to 5. I would like to keep the input boxes in order (1 to 5) even while dragging and resorting. I've made code to plus/subtract upon a rearrange and that works if used properly. If you drag violently though, you can get the order out of whack. May

[jQuery] Sortables and helper appending

2009-08-07 Thread tecmo
Does anyone know how I can make the draggable helper the last container in my sortables? I've been messing with the appendTo option, but I haven't a clue how to get it to work. thx

[jQuery] function scope

2009-07-06 Thread tecmo
In my $(document).ready(function() I have function foo() {} How can I access the foo function from a different jquery .js file? thank you, very new - eric

[jQuery] Re: Sortable

2009-07-06 Thread tecmo
On Jul 6, 1:36 pm, Thales Lacerda wrote: > Hi, > > I'm using sortable and must get the id of the element being moved. > > Somebody help me? > > My code: > > $(function() { > $("#sortable").sortable(); > $("#sortable").disableSelection(); > > }); > > > > > Item 1 > Item 2 > Item 3 > Item 4 > I

[jQuery] traversing DIV containers

2008-10-30 Thread tecmo
would like to edit these text fields as I drag them around. The js files passes the DIV containers as objects named i. how can I edit the text fields (traverse the i object). thx. very new to this - tecmo

[jQuery] Is there a way to update an element while you're dragging it?

2008-10-30 Thread tecmo
i'm using the sortables and dragging around div containers with text boxes. I change the value of the text boxes while dragging, but the changed values don't appear on the item you're dragging. Only when you drop the item do the changes appear on the dragged item. Is there a way to refresh the

[jQuery] Re: Is there a way to update an element while you're dragging it?

2008-10-31 Thread tecmo
I got it. The dragged item is cloned (this.helper)