We recommend an excellent JS date control.

Source: Internet
Author: User
Today I want a date component with time implemented by JS, and then I met it.
Like a firefly in the dark, so shining and pulling the wind
It is my97 datepicker. Maybe you know it, but I'm not sure.

The official recommendation has the following advantages:
====================
More user-friendly and Comprehensive Functions
====================
Powerful date range restriction
====================
Custom events and rich API Libraries
====================
Multi-language support and Custom Skin support
====================
Cross-unlimited frame display and automatic selection of display locations

Official demo and documentation
Http://www.my97.net/dp/demo/index.htm

2. Notes
The my97datepicker directory is a whole. It cannot damage the directory structure or change the name of the file. You can change the directory name.
My97datepicker.htm is a required file and cannot be deleted.
Usage of directories and files:
Wdatepicker. js configuration file. You only need to use this file in the called place. Multiple files can coexist and are named in xx_wdatepicker.js format.
Config. js language and skin configuration file, no need to introduce
Main file of the calendar. js date library, no need to introduce
My97datepicker.htm temporary page file, which cannot be deleted
Directory Lang stores language files. You can clear or add language files as needed.
Directory skin stores skin-related files. You can clear or add skin packages as needed.
When wdatepicker. when the property wdate in JS is set to true, adding class = "wdate" to input will display the date icon on the right of the Selection box. If you do not like this style, you can delete the class = "wdate" and modify the style by modifying the wdatepicker.css file in the skindirectory.

3. Supported browsers
IE 6.0 +, Firefox 2.0 +, chrome, opera 9.5 +, Safari 3.0 +

Note: IE 8.0 is perfectly supported. If you have any problems with IE8, please contact me and be sure to attach the pure HTML that can reproduce your problem.CodePackage

This article is transferred from www.35java.com

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.