Widget:VisitSchedulerRedux: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
$(".appointment").change(function(){
$(".appointment").change(function(){
var modId = $(this).attr("id").split("-")[1];
var modId = $(this).attr("id").split("-")[1];
alert($(this).val());
var updatedAppointment = new Date($(this).val());
var updatedAppointment = new Date($(this).val());
$(this).val(updatedAppointment);
$(this).val(updatedAppointment);

Revision as of 21:00, 27 November 2018