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.