Virajsinh

DateTime Picker Date Highlight

Feb 25th, 2022 (edited)
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Main Site -> https://xdsoft.net/jqplugins/datetimepicker
  2. // https://stackoverflow.com/questions/39743012/xdan-datetimepicker-how-to-highlight-days
  3.  
  4. $('.datetimepicker_reserved').datetimepicker({
  5.     timepicker: false,
  6.     format: "d/m/Y",
  7.     formatDate: "d/m/Y",
  8.     highlightedDates: [
  9.         "15/02/2022, Description D1, warning-bg",
  10.         "19/02/2022, Description D1, warning-bg",
  11.     ],
  12. });
Add Comment
Please, Sign In to add comment