Putting things in order and saving the order. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Putting things in order and saving the order.

hi guys, In a JavaScript app I'm making there's a part where I want the user to click on items of a list in their preferred order. I'm struggling to save the order they click the items in. Please help.

26th Feb 2017, 3:03 PM
Walter Musara
Walter Musara - avatar
3 Answers
+ 3
Cookies and/or web-storage ( local and/or session storage )
26th Feb 2017, 6:24 PM
visph
visph - avatar
+ 2
It's just the root stuff you need to save data on user side and retrieve them on a new page loading/refreshing... To show an example means do the job at your place: submit some work, ask about more specific problem/bug, and we will help you to reach your goal ^^
26th Feb 2017, 7:51 PM
visph
visph - avatar
0
can you please show me an example
26th Feb 2017, 7:44 PM
Walter Musara
Walter Musara - avatar