question: there are several strings with the following structure in the list:
1.(:)
2.(:)
requirement: click the corresponding item. If you click the item at the end of the month (: date) here, the value in the corresponding input is
.(:)
Click again, the value of input is
((:))
and so on.
is there any better way to implement operational logic like javascript?