<!DOCTYPE html>
<html>
<head>
<title>1-up Date Picker</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/ui-darkness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-2.1.0.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="script07.js"></script>
</head>
<body>
<h2>Date: <span id="datepicked"></span></h2>
<div id="datepicker"></div>
</body>
</html>
$(function() {
$("#datepicker").datepicker({
dateFormat: "DD, MM dd, yy",
onSelect: function(selectedDate) {
$("#datepicked").empty().append(selectedDate);
}
});
});
If Yours looks like this can you find and fix the error in the code?