Right after set method has been passed, I want to know what the date selected is so I can use it in a call to controller
$(‘#datetime’).bind(‘datebox’, function (e, passed) {
if ( passed.method === ‘set’ ) {
$.load(“controller action with the date set”);
}
});
I’m not sure I follow, but you want the date that was just set, correct?
From the Docs:
Trigger to set specified date:
So, following your example, passed.value is the * formatted* date, and passed.date is the underlying date object.