js代码
<script src="js/jquery-1.8.3.min.js"></script> <script type="text/javascript" src="js/date.js" ></script> <script type="text/javascript"> $(function(){ $('#beginTime').date(); $('#endTime').date({theme:"datetime"}); }); </script>