• EasyUI日期时间框DateTimeBox


    WEB DEMO

    日期时间框 DateTimeBox

    <!DOCTYPE html>
    <html>
    <HTML>
    <head>
    <HEAD>
    	<meta charset="UTF-8">
    	<meta charset =“UTF-8”>
    	<title>Fluid DateTimeBox - jQuery EasyUI Demo</title>
    	<title> Fluid DateTimeBox  -  jQuery EasyUI演示</ title>
    	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / default / easyui.css”>
    	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / icon.css”>
    	<link rel="stylesheet" type="text/css" href="../demo.css">
    	<link rel =“stylesheet”type =“text / css”href =“../ demo.css”>
    	<script type="text/javascript" src="../../jquery.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.min.js”> </ script>
    	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.easyui.min.js”> </ script>
    </head>
    </ HEAD>
    <body>
    <BODY>
    	<h2>Fluid DateTimeBox</h2>
    	<h2> Fluid DateTimeBox </ h2>
    	<p>This example shows how to set the width of DateTimeBox to a percentage of its parent container.</p>
    	<p>此示例显示如何将DateTimeBox的宽度设置为其父容器的百分比。</ p>
    	<div style="margin:20px 0;"></div>
    	<div style =“margin:20px 0;”> </ div>
    	<p> 50%</p>
    	<p>宽度:50%</ p>
    	<input class="easyui-datetimebox" style="50%">
    	<input class =“easyui-datetimebox”style =“width:50%”>
    	<p> 30%</p>
    	<p>宽度:30%</ p>
    	<input class="easyui-datetimebox" style="30%">
    	<input class =“easyui-datetimebox”style =“width:30%”>
    </body>
    </ BODY>
    </html>
    </ HTML>
    
    <!DOCTYPE html>
    <html>
    <HTML>
    <head>
    <HEAD>
    	<meta charset="UTF-8">
    	<meta charset =“UTF-8”>
    	<title>Initialize Value for DateTime - jQuery EasyUI Demo</title>
    	<title>初始化DateTime的值 -  jQuery EasyUI演示</ title>
    	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / default / easyui.css”>
    	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / icon.css”>
    	<link rel="stylesheet" type="text/css" href="../demo.css">
    	<link rel =“stylesheet”type =“text / css”href =“../ demo.css”>
    	<script type="text/javascript" src="../../jquery.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.min.js”> </ script>
    	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.easyui.min.js”> </ script>
    </head>
    </ HEAD>
    <body>
    <BODY>
    	<h2>Initialize Value for DateTime</h2>
    	<h2>初始化DateTime的值</ h2>
    	<p>The value is initialized when DateTimeBox has been created.</p>
    	<p>创建DateTimeBox时初始化该值。</ p>
    	<div style="margin:20px 0;"></div>
    	<div style =“margin:20px 0;”> </ div>
    	<input class="easyui-datetimebox" value="10/11/2012 2:3:56" style="200px">
    	<input class =“easyui-datetimebox”value =“10/11/2012 2:3:56”style =“width:200px”>
    
    </body>
    </ BODY>
    </html>
    </ HTML>
    

    显示到秒

    <!DOCTYPE html>
    <html>
    <HTML>
    <head>
    <HEAD>
    	<meta charset="UTF-8">
    	<meta charset =“UTF-8”>
    	<title>Display Seconds - jQuery EasyUI Demo</title>
    	<title>显示秒数 -  jQuery EasyUI演示</ title>
    	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / default / easyui.css”>
    	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / icon.css”>
    	<link rel="stylesheet" type="text/css" href="../demo.css">
    	<link rel =“stylesheet”type =“text / css”href =“../ demo.css”>
    	<script type="text/javascript" src="../../jquery.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.min.js”> </ script>
    	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.easyui.min.js”> </ script>
    </head>
    </ HEAD>
    <body>
    <BODY>
    	<h2>Display Seconds</h2>
    	<h2>显示秒数</ h2>
    	<p>The user can decide to display seconds part or not.</p>
    	<p>用户可以决定是否显示秒部分。</ p>
    	<div style="margin:20px 0;">
    	<div style =“margin:20px 0;”>
    		<span>Show Seconds: </span>
    		<span>显示秒数:</ span>
    		<input type="checkbox" checked onchange="$('#dt').datetimebox({showSeconds:$(this).is(':checked')})">
    		<input type =“checkbox”选中onchange =“$('#dt')。datetimebox({showSeconds:$(this).is(':checked')})”>
    	</div>
    	</ DIV>
    	<input id="dt" class="easyui-datetimebox" style="200px">
    	<input id =“dt”class =“easyui-datetimebox”style =“width:200px”>
    	
    </body>
    </ BODY>
    </html>
    </ HTML>
    
    <!DOCTYPE html>
    <html>
    <HTML>
    <head>
    <HEAD>
    	<meta charset="UTF-8">
    	<meta charset =“UTF-8”>
    	<title>Basic DateTimeBox - jQuery EasyUI Demo</title>
    	<title>基本DateTimeBox  -  jQuery EasyUI演示</ title>
    	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / default / easyui.css”>
    	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
    	<link rel =“stylesheet”type =“text / css”href =“../../ themes / icon.css”>
    	<link rel="stylesheet" type="text/css" href="../demo.css">
    	<link rel =“stylesheet”type =“text / css”href =“../ demo.css”>
    	<script type="text/javascript" src="../../jquery.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.min.js”> </ script>
    	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
    	<script type =“text / javascript”src =“../../ jquery.easyui.min.js”> </ script>
    </head>
    </ HEAD>
    <body>
    <BODY>
    	<h2>Basic DateTimeBox</h2>
    	<h2>基本DateTimeBox </ h2>
    	<p>Click the calendar image on the right side.</p>
    	<p>点击右侧的日历图片。</ p>
    	<div style="margin:20px 0;"></div>
    	<div style =“margin:20px 0;”> </ div>
    	<input class="easyui-datetimebox" required style="200px">
    	<input class =“easyui-datetimebox”required style =“width:200px”>
    </body>
    </ BODY>
    </html>
    </ HTML>
    

    请点赞!因为你的鼓励是我写作的最大动力!

  • 相关阅读:
    dig批量获取域名对应IP
    文件和目录
    Linux程序设计的CD唱片应用程序
    LinuxRedhat7.0虚拟机配置双网卡
    Redhat7.0计划任务服务程序(at,crontab)
    RedHat7 修改主机名称 配置网卡信息 配置Yum软件仓库
    关于RedHat5.0不能提示找不到/media/cdrom/repodate/repomd.xml
    Redhat5静态IP分配,提示Error, some other host already uses address解决办法
    三种时间戳的解释
    RHEL 7 -解决“没有启用回购”消息
  • 原文地址:https://www.cnblogs.com/dashucoding/p/11932368.html
Copyright © 2020-2023  润新知