Answer the question
In order to leave comments, you need to log in
How to update the contents of the date attribute?
Good day. Please tell me the mechanics of changing the content of the html attribute. I have a timer, I took the Timer from here. It is necessary that the timer is updated at 0 o'clock and at 12 o'clock in the afternoon, and for this you need to add 12 hours to the data-finish attribute. Explain in general terms, how this is done, I encounter a similar task for the first time. How to work with a date object?
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