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('exampleli st',{ghost ing:true,c onstraint: false})
function getOrder() {
// get the order of the table examplelist
}
</script>
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('exampleli
function getOrder() {
// get the order of the table examplelist
}
</script>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.