Get started with jquery-ui-multidatespicker CDN

(MIT OR GPLv2) licensed

The jQuery UI Multidatespicker is a widget that allows users to select multiple dates from a single interface.

Tags:
  • jquery
  • jquery-ui
  • calendar
  • dates

Stable version

Copied!

How to start using jquery-ui-multidatespicker CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with jquery-ui-multidatespicker CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.min.css">
  <link rel="stylesheet" href="https://cdn.cdnhub.io/jquery-ui-multidatespicker/1.6.6/jquery-ui.multidatespicker.css">
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
  <script src="https://cdn.cdnhub.io/jquery-ui-multidatespicker/1.6.6/jquery-ui.multidatespicker.js"></script>
  <script>
    $(function() {
      $("#datepicker").multidatepicker({
        numberOfMonths: 2,
        onDateSelect: function(selectedDate, inst) {
          alert("Selected date: " + selectedDate);
        }
      });
    });
  </script>
</head>
<body>
  <div id="datepicker"></div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions