<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.18/themes/base/jquery-ui.css" type="text/css" />
<script type="text/javascript" src="/common/js/jquery-1.8.0.js"></script>
<script src="http://code.jquery.com/ui/1.8.18/jquery-ui.min.js"></script

 

 

 

<input type="text" name="target_date" id="target_date" size=10 style="padding:5px;height:30px;">

 

 

 

<script language="Javascript">
<!--

$('#target_date').datepicker({
 onSelect: function(){
  alert('a');
 },
 dateFormat: "yy-mm-dd"
});


//-->
</script>

 

Posted by kunoo
,