Try with this code ..............
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>jQuery Datepicker Demo</title>
<style type="text/css">
div.ui-datepicker
{
font-size: 10px;
}
</style>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/start/jquery-ui.css" type="text/css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#txtDateFrom,#txtDateTo').datepicker({
changeYear: true,
beforeShow: function (textbox, instance) {
instance.dpDiv.css({
marginTop: (-textbox.offsetHeight) + 'px',
marginLeft: textbox.offsetWidth + 'px'
});
}
});
});
</script>
</head>
<body>
<form id="testForm" runat="server">
<div>
<input type="text" id="txtDateFrom" /><br />
<input type="text" id="txtDateTo" />
</div>
</form>
</body>
</html>