<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content='width=device-width, initial-scale=1' name='viewport'/>
<title>jQuery UI Datepicker</title>
<link type="text/css" href="jquery-ui-1.8.16.custom/css/sunny/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<script src="jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js"></script>
<script scrc="jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js"></script>
</head>
<body>
<h3>Date of Birth</h3>
<input type="text" name="birth_date" id="datepicker">
<script>
$(document).ready(function(){
$('#datepicker').datepicker();
});
</script>
</body>
</html>
Why this doesn't work ? tried several times but get the same error in debug:
Object doesn't support property or method 'datepicker'.