Line 135: | Line 135: | ||
/* jQuery ready function. Specify a function to execute when the DOM is fully loaded. */ | /* jQuery ready function. Specify a function to execute when the DOM is fully loaded. */ | ||
$(document).ready( | $(document).ready( | ||
− | + | $("#d1").show().unbind().datepicker().datepicker("show").change(function () { | |
+ | $('#d1').datepicker({onSelect: datePickerValue = $(this).val() }).hide(); | ||
+ | alert("You picked: " + datePickerValue); | ||
+ | }); | ||
/* This is the function that will get executed after the DOM is fully loaded */ | /* This is the function that will get executed after the DOM is fully loaded */ | ||
function () { | function () { |
Revision as of 09:30, 18 July 2017