I have a value in a TD and I need to recover it, it's a calendar and every date I click on the calentario there is a different class on each date, I need it, when I click on that date, I can recover the month and year of the day I clicked, I have the following return executing this code.
In short, I need to retrieve this date appearing on the console.
var dateSelectClick = $(target); console.log(dateSelectClick);