How to get selected date from webmonthview when user click on date area? not header
Thanks
Hello Syne,
Thank you for using our community.
I would like to suggest you using a click event. That way when you click on a particular day you will have access to the DOM element of the selected day. Here is a sample code:
function WebMonthView1_Click(oDayView, oEvent, element){
var selectedDay = element;
}
If you give me more information on what exactly you want to accomplish, by getting the selected day, I could better assist you.
If you have further questions, don’t hesitate to contact us.
Hi Marina,
Thanks for your fast reply. I would like to get the selected date and do some validation checking before open modal dialog.
is get the whole element, how can i get the selected date?
Example: if i click on 16 Jun 2015 date area, how can i get the "16 Jun 2015"?