Jquery / Javascript - Add years to date variable

后端 未结 6 1499
耶瑟儿~
耶瑟儿~ 2021-02-19 06:05

I have a small trouble that would be great to have some help with. I am creating a small form that I want to take a current date formatted \'dd/mm/yyyy\' and add a

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 06:57

    lots of date picker jquery are available on the net

    This

    one is my favourite, easy to implement and edit as per our needs.

    if you want to use script from your code, you can directly pass the date value to var startdate like

    var startdate=
    

    try this.. may help.

提交回复
热议问题