Question: Assume your XHTML document has the following code: item1 item2 Transform a ul list into an ol list in the following way 1. Read each

Assume your XHTML document has the following code: item1 item2 Transform a ul list into an ol list in the following way 1. Read each li item text in the ul_list to an array called list. Do not assume we know how many list items there are. 2. Remove the li items from the ul_list. 3. Remove the ul item from the list_div. 4. sort the list array. 5. Recreate an ol list using the list array in the list_div
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
