An awesome date control laydate

Source: Internet
Author: User

Learning URL: http://sentsin.com/layui/laydate

This date control is based on JavaScript and has a very powerful function.

Less gossip, I did a little exercise:

<!--date control laydate use.
@author iluckysi @since 20150128 URL: Http://sentsin.com/layui/laydate Core method: Laydate (options);
The options is an object that contains the following key: ' Default ' elem: ' #id ',//The element selector for the date to be displayed: ' Click ',//Trigger Event format: ' Yyyy-mm-dd hh:mm:ss ',//date format Istime:false,//Whether to open time select Isclear:true,//Whether show empty istoday:true,//Whether show today Issure:true, whether show confirm festival:true//whether show Festival min : ' 1900-01-01 00:00:00 ',//min. Max: ' 2099-12-31 23:59:59 ',//MAX date start: ' 2014-6-15 23:00:00 ',//start date fixed:false,//fixed zindex:99999999 in the viewable area,//css Z-index choose:function (dates) {}//Select a callback for the good date--> <%@ page language= "java" import= "JAV"
A.util.* "pageencoding=" UTF-8 "%> <% String Path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/"; %> <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.