JQuery datepicker doesn't work as advertised

Problem: datepicker is not displayed at all. There are no errors in the console. All files are included and accessible through Firebug.

Having spent too much time trying to get the jQuery UI datepicker to work, and that includes reading dozens of Google results, I need your help. Even the simplest, simplest and easiest implementation of a date picker works for me.

In the current example, I am testing (truncated to nothing but a dumper):

<html>
<head>
<meta charset="UTF-8">
<title>DatePicker Test</title>

<!-- JavaScript -->
<script type="text/javascript" src="../js/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../js/jquery/jquery-ui-1.8.19.custom.min.js"></script>
<!--script type="text/javascript" src="../js/jquery/jquery.ui.datepicker.js"></script-->

<!-- Stylesheets -->
<link rel="stylesheet" href="../css/ui-lightness/jquery-ui-1.8.19.custom.css" />

<script type="text/javascript">
$(function() {
    $( "#datepicker" ).datepicker();
});
</script>
</head>

<body>
<div><input type="text" id="datepicker" class="hasDatepicker" /></div>
</body>
</html>

This does not work. I downloaded all jQuery ( jquery-ui-1.8.19.custom.min.js) user interface code and tried everything. I even tried adding a simple datepicker field to the HTML demo page that comes with the jQuery user interface. Nothing.

jQuery UI datepicker.js jQuery, .

, , , .

CSS, , JavaScript , datepicker., , .

?

, datepicker, ?

+3
2

, . , . , script . , . css/js , "../" .

<input type="text" id="datepicker" />

FireFox -

+6

js . , , CDN.

- (, script css ).

0

All Articles