0
I have a value in a TD and I need to recover it, it is a calendar and every date I click from the calentario there is a different class in each date, I need that when I click on that date I can recover the day month and year of the day that I clicked, i have the following return running this code.
summarizing need to recover that date that is appearing on the console.
var dateSelectClick = $(target); console.log(dateSelectClick);
Detail more your question, inform which plugins you are using. I imagine you are using Moment.js, if so then you recover with dateSelectClick.get(0).date.format()
– bunomonteiro
Is this calendar a simple datepicker or html? You can give an example of html or indicate which datepicker?
– Sergio