Link to home
Start Free TrialLog in
Avatar of jamie_lynn
jamie_lynn

asked on

How do you get the order of a Scriptaculous table?

Hi,
Using scriptaculous, I created a ghost sorting table. After I sorted the table by dragging the row, how can I get the order of the table?

Thanks
Jamie

<ul id="examplelist">
<li>Lorem ipsum dolor</li>
<li>sit amet</li>
<li>consectetur adipisicing</li>
<li>elit</li>
<li>sed do eiusmod</li>
<li>tempor incididunt</li>
<li>ut labore et dolore</li>
<li>magna aliqua</li>
</ul>

<script type="text/javascript" language="javascript">
  Sortable.create('examplelist',{ghosting:true,constraint:false})
 
function getOrder() {
      // get the order of the table examplelist
}
</script>

ASKER CERTIFIED SOLUTION
Avatar of basicinstinct
basicinstinct
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial