With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I'm writing a script to sort parent and child table rows. However, these table rows are not nested!
Instead, the table is 1 dimensional, and the child elements are defined by a class having "level-n", where "n" is an integer specify the depth of the row.
<tr><td class="level-0">I'm a parent</td></tr>
<tr><td class="level-1">- I'm a child</td></tr>
<tr><td class="level-2">- - I'm a grand-child</td></tr>
<tr><td class="level-3">- - - I'm a great-grand-child</td></tr>
<tr><td class="level-n"> - - ... - I'm a nth-grand-child</td></tr>
Please see a sample table with my sample script here:
My script is a bit buggy and incomplete, so I need your help.
Please use the table.html file I have provided as the data file for your table. Do not change the structure / html. Please only manipulate this table with the new script I am requesting.
=== Requirements: ===
1. User can update the order of the table rows by dragging and droppi...
Sign in or Register to see more