View Single Post
  #19 (permalink)  
Old 10-20-09, 11:27 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by End User View Post
Okay, one last question (I hope)....in this version, how would I find the order of the elements after they've been rearranged? The function that I accessed to find that info is gone in the latest example you provided. I went over the docs on the WZ site in detail, but I can't seem to put it together.

For example, I've been trying to find the position of each of the elements and then sort them to get the order, but I'm not getting that to work at all so far. The previous version had an array named "aElts", that was updated with the new order after an element was dropped, but that's not in this incarnation. (??)

I swear, it seems like the more I work with javascript, the less I know.
What do you need the aElts array for?

wz_dragdrop takes care of all that for you.
__________________
Jerry Broughton
Reply With Quote