I have question,
If I have a html element like this:
<input type="date" onchange="func(this)" value="2022-05-16">
It works fine, when you select a different date, if I select 2022-05-16, the func() is not calling, I know seems the onchange only trigger when the date is different(onchange), but if I want to trigger when I select 2022-05-16, same as original date, How I can set it up correctly? Here I do not want to change it to 2022-05-15, then change back to 2022-05-16, I want one click only to tigger my func() here.
try oninput:
<input type="date" oninput="func(this)" value="2022-05-16">