Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Your answer perfectly works. But I need to change little bit. If I change the input type of text control to Date, then it does not work. How to resolve that?
    – CPK_2011
    Commented Sep 10, 2022 at 21:59
  • The problem is I want to scroll through the Year easily instead of scrolling through each month backwards or forwards.
    – CPK_2011
    Commented Sep 10, 2022 at 22:25
  • Heya @CPK_2011, glad you've got the first bit working :) The second part (scrolling through the month / year backwards) sounds like a separate question, so accept an answer here, then post a new question, and I'll try and help Commented Sep 11, 2022 at 11:16