Extract Enabled/Disabled dates from jQuery datepicker object on live website using Chrome console

24 Views Asked by At

I have a website that's showing a simple jQuery date picker - https://jqueryui.com/datepicker/ Currently, it shows the dates, some of them are ENABLED and some are DISABLED.

Is there a way to write a code in JavaScript (chrome console) that can extract the list of enabled/disabled dates?

I am able to get datepicker object from input with id "datepicker", and I am able to execute the below statement that gives me the currently selected date.

$('#datepicker').datepicker("getDate");

NOTE: I am trying to extract dates from the live website, it's NOT my own code and I do NOT have access to any pre-existing list of array of dates from the console.

0

There are 0 best solutions below