Skip to content
Advertisement

Change date when status is updated

Hi guys I’m looking to write a javascript to change the date in the date box when I update the status select box.

For example the initial date on the datebox is 6/1/2021. And I will click on status rejected. The date should automatically change to today 6/3/21 without manually clicking the date picker box

JavaScript

Advertisement

Answer

I hope this answers your question. I have added comments for better clarity. In case you have any issues, let me know.

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement