The date picker uses jquery and attaches it to the page with the date picker:
<script type="text/javascript" src="../webassist/jquery/jquery.js"></script>
<script type="text/javascript" src="../webassist/jquery/jquery-ui.js"></script>
<script type="text/javascript">
$(function(){
$('#Datum').datepicker({
changeMonth: true,
changeYear: true,
onClose: closeDatePicker_Datum,
dateFormat: 'yy-mm-dd',
showMonthAfterYear: true
});
});
function closeDatePicker_Datum() {
var tElm = $('#Datum');
if (typeof Datum_Spry != null && typeof Datum_Spry != "undefined" && Datum_Spry.validate) {
Datum_Spry.validate();
}
var docElm = document.getElementById("Datum");
var tBlur = docElm.getAttribute("onBlur");
if (!tBlur) tBlur = docElm.getAttribute("onblur");
if (!tBlur) tBlur = docElm.getAttribute("ONBLUR");
if (tBlur) {
tBlur = String(tBlur).replace(/\bthis\b/g, "docElm");
eval(tBlur);
}
}
</script>
you are causing a jquery conflict by adding a second version to the page using this code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.0.min.js"><\/script>')</script>
remove those 2 lines, and the date picker will work