jquery datepicker参数介绍和示例

前端技术 2023/09/08 JavaScript

复制代码 代码如下:

<!DOCTYPE html>
<html>
<head>
<link href=\"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css\" rel=\"stylesheet\" type=\"text/css\"/>
<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js\"></script>
<script src=\"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js\"></script>

<script>
$(document).ready(function() {
$(\"#datepicker\").datepicker();
});
</script>
</head>
<body style=\"font-size:62.5%;\">

<div type=\"text\" id=\"datepicker\"></div>

</body>
</html>

本文地址:https://www.stayed.cn/item/22958

转载请注明出处。

本站部分内容来源于网络,如侵犯到您的权益,请 联系我

我的博客

人生若只如初见,何事秋风悲画扇。