jquery u datepicker使用 jquery ui 日期组件

2025-11-01 04:42:51

1、<!doctype html>

<html>

<head>

  <meta charset="utf-8">

  <title>jQuery UI Datepicker使用 jquery ui 日期组件使用</title>

  <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">

  <script src="http://code.jquery.com/jquery-1.10.2.js"></script>

  <script src="http://code.jquery.com/ui/1.11.0/jquery-ui.js"></script>

  <link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css">

  <script>

  $(function() {

    $( "#datepicker" ).datepicker();

  });

  </script>

</head>

<body>

日期: <input type="text" id="datepicker">

 

</body>

</html>

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢