Answer the question
In order to leave comments, you need to log in
Editing temporary sessions using JS?
I have a task. For example, building a house. This task was carried out in 3 stages, these stages are divided by time, for example:
May 10 - May 15 - laying the foundation
May 16 - May 20 - building walls
May 25 - June 02 - finishing work
these sessions are stored in the database. Then the worker remembered that he had been doing finishing work not since May 25, but since May 23. I want to make it possible to edit sessions, but so that they do not overlap. For example, a worker cannot set the start date of a session to be less than the end date of the previous one. I want to display a line on the page, divided into sessions, which can be moved, thereby changing the intervals - something like this ghusse.github.io/jQRangeSliderbut at multiple intervals. By pressing the "save" button, the corrected data will be written to the database.
The question is - have you seen anything done in js, or should I write it from scratch?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question