How can I get datepicker to work inline, but also have a year dropdown

Eoin

I want to have an inline date picker but with a year/month drop down. Is that possible using JQuery Datepicker? http://jqueryui.com/datepicker/

krutssss

Yes, Its possible.

You can try this way.

  $(function() {
    $( "#datepicker" ).datepicker({
       changeMonth: true,
       changeYear: true
    });
  });

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Jquery datepicker. How I can get year from Jquery datepicker

How can I get my animation to work in the other direction also?

how can i disable header year on datepicker?

How can I get the Date from year and how much total days have passed?

How do I get a jQuery UI Datepicker button inline with the input?

How can I make this dropdown calculation work?

How can i get the day in the datepicker javascript?

How to have datepicker set default year?

Can jQuery css get inline styles also?

In Excel 2010, how can I subtract two times when I also have the date in the cell and get the value in seconds?

How can I extend my functionality to also have the cd command?

How can I get an EventListener on a Select dropdown using a loop to work as expected

I can't have a beginning value for react-datepicker and still be able to change it from dropdown?

How can I detect if array have year value and define it?

How can I have a <core-selector> inline?

How can I apply a mask from an inline SVG that will work in Chrome?

How do I get a Kendo DatePicker to work inside an MVC Partial?

How to get only year from kendo datepicker?

How to get year and month of Bootstrap Datepicker as it on change

Android Java - how to get day of year in DatePicker?

How can I have Tab titles in bootstrapvue as a dropdown

How I Can fix my menu, I would want the space also for the element in dropdown, (the element with white background)?

How can I get work items that have a related test in Azure DevOps (VSTS)?

how can I get the row of value that also occurred in other row?

In SQL, how can I pivot a table and also get the details information?

How can I get the doors in the Awake but also in the Editor script?

How can I make my dropdown menu work correctly?

How do I get the dropdown navigation bar to work with html and css?

How can I format a DatePicker to display the date format day / month / year?