当前位置:网站首页>非常强大的时间日期插件 --- JeDate.js
非常强大的时间日期插件 --- JeDate.js
2022-04-22 00:03:00 【『木头』】
非常强大的时间日期插件 --- JeDate.js
1.下载Jedate包
http://www.jemui.com/jedate/ .
1.先点击链接,进入JeDate网站
2.双击index.html,见识到JeDate的强大
2.整合到自己的项目
1.在自己的html页面导入这几个包
2.代码如下
<!doctype html>
<html >
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>jeDate日期控件(原生JS) - 演示</title>
<link type="text/css" rel="stylesheet" href="../static/jedate/test/jeDate-test.css">
<link type="text/css" rel="stylesheet" href="../static/jedate/skin/jedate.css">
<script type="text/javascript" src="../static/jedate/src/jedate.js"></script>
</head>
<body>
<div class="jebody">
<div class="jewarp">
<h3 class="gray">有效、无效日期限制</h3>
<div class="content">
<div class="jeitem">
<label class="jelabel">有效日期正向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test20" placeholder="YYYY年MM月DD日"></div>
</div>
<div class="jeitem">
<label class="jelabel">无效日期正向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test22" placeholder="YYYY年MM月DD日"></div>
</div>
<div class="jeitem">
<label class="jelabel">指定日期正向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test24" placeholder="YYYY年MM月DD日"></div>
</div>
<div class="jeitem">
<label class="jelabel">有效日期反向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test21" placeholder="YYYY年MM月DD日"></div>
</div>
<div class="jeitem">
<label class="jelabel">无效日期反向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test23" placeholder="YYYY年MM月DD日"></div>
</div>
<div class="jeitem">
<label class="jelabel">指定日期反向限制</label>
<div class="jeinpbox"><input type="text" class="jeinput" id="test25" placeholder="YYYY年MM月DD日"></div>
</div>
</div>
</div>
<div class="jewarp">
<h3 class="gray">直接展示日历</h3>
<div class="content">
<div class="jefixeitem" id="show01"></div>
<div class="jefixeitem" id="show02"></div>
<div class="jefixeitem" id="show03"></div>
<div class="jefixeitem" id="show04"></div>
</div>
</div>
</div>
<script type="text/javascript" >
jeDate("#show01",{
isShow:false,
format: "YYYY-MM-DD hh:mm:ss"
});
jeDate("#show02",{
isShow:false,
format: "YYYY-MM"
});
jeDate("#show03",{
isShow:false,
format: "YYYY"
});
jeDate("#show04",{
isShow:false,
format: "hh:mm:ss"
});
</script>
</body>
</html>
3.项目结构

水文一篇,由于没有阅读作者的README,再加上CSDN上好几篇文章都说直接引入jedate.js就可以啦,被坑的不行,江湖险恶。
版权声明
本文为[『木头』]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43916074/article/details/124326043
边栏推荐
- 1.2V镍氢电池灯太阳能草坪灯升压驱动IC丝印AaTLB封装SOT23-6和SOP8单片机IC
- The difference between IAAs, PAAS and SaaS
- Union, intersection and difference tool classes based on Apache set Toolkit
- SP4522B 是一款专为2A充电升压集成输出移动电源IC
- TVS二极管的应用与分析
- Three special data types of redis -- geospatial geospatial
- Kubernetes deployment: offline deployment of highly available kubernetes clusters using kubespreay (scheme 1)
- AVL balanced binary tree and its four rotation modes
- 插入创建数组
- 2022年江西省安全员A证考试题及答案
猜你喜欢
A list of the latest changes in Mandelbrot set -- mandelbox, mandelbulb, burning ship, nebulabrot

What kind of sports headphones should you choose and what style of headphones are comfortable to wear

CocosCreator学习示例合集v3.4.2

msf --攻击MySQL 和简单实用

AI助力劳保防护装备穿戴监测,为企业安全生产保驾护航

Storage group physical quantity entity path

Redis starts the service and connects the client

Use of database connection pool and Druid

AVL tree deletion, detailed illustration

vmware-vmx. Exe could not end the process
随机推荐
【无标题】2022煤炭生产经营单位(机电运输安全管理人员)上岗证题目模拟考试平台操作
Why can't the case in switch be broken
Storage group physical quantity entity path
低成本成FS68001A、FS68003无线充SOC芯片
DetNet: A Backbone network for Object Detection
How does catboost handle non numeric (object) data
7.9 thread mutex
Leetcode daily question 824 Goat Latin
STM32&STM8系列MCU产品命名
Kuangshi Research Institute | dark vision network: RGB IR Fusion low illumination imaging method using depth inconsistent a priori
Naming of STM32 & stm8 Series MCU products
L2-016 wish all lovers in the world are brothers and sisters who have been separated for many years (25 points)
Audio and video codec
Use of database connection pool and Druid
App optimization and advanced scoreboard Part 2 [Mui + flask + mongodb]
Leetcode -- character string
【網絡協議】DHCP和PXE
LED发光二极管的主要参数与结构介绍
Gartner announces emerging technology research: insight into the meta universe
Three special data types of redis -- geospatial geospatial




