No me marca error en consola mira lo subi a mi server, esta es la liga
https://www.viajaenmexico.com/jquery/prueba.html#
y este es mi codigo de prueba
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery/date.js" type="text/javascript"></script>
<script src="jquery/jquery.datePicker.js" type="text/javascript"></script>
<script type="text/javascript" src="jquery/bgiframe_2.1.1/jquery.bgiframe.js"></script>
<link href="jquery/demo.css" media="screen" type="text/css" rel="stylesheet">
<script charset="utf-8" type="text/javascript">
$(function()
{
$('.date-pick').datePicker()
$('#start-date').bind(
'dpClosed',
function(e, selectedDates)
{
var d = selectedDates[0];
if (d) {
d = new Date(d);
$('#end-date').dpSetStartDate(d.addDays(1).asString());
}
}
);
$('#end-date').bind(
'dpClosed',
function(e, selectedDates)
{
var d = selectedDates[0];
if (d) {
d = new Date(d);
$('#start-date').dpSetEndDate(d.addDays(-1).asString());
}
}
);
});
</script>
</head>
<body>
<form action="#" id="chooseDateForm" name="chooseDateForm">
<fieldset>
<legend>Test date picker form</legend>
<ol>
<li>
<label for="start-date">Start date:</label>
<input class="date-pick dp-applied" id="start-date" name="start-date"><a title="Choose date" class="dp-choose-date" href="#">Choose date</a>
</li>
<li>
<label for="end-date">End date:</label>
<input class="date-pick dp-applied" id="end-date" name="end-date"><a title="Choose date" class="dp-choose-date" href="#">Choose date</a>
</li>
</ol>
</fieldset>
</form>
</body>
</html>