We recommend a JavaScript calendar control: kimsoft-jscalendar.

Source: Internet
Author: User

1. What is kimsoft-jscalendar?
A concise avaScript calendar control that can be used in Java Web projects and. NET Web projects.

Ii. What are the features of kimsoft-jscalendar?

1. Small, single file

2. Supports multiple languages and can be expanded freely. (currently, it supports Simplified Chinese, traditional Chinese, English, United States, and English)

3. compatible with ie6.0 +, firefox1.0 +, Opera9, not tested by other browsers

4. echo the selected time, which is not available in many other calendar controls

5. Apache license 2.0 is commercially friendly. Free to use, free to modify and disseminate, but please keep the copyright information

6. Use iframe to solve the problem that the select control is displayed in the IE middle layer.

7. Other features include special discoveries...

Iii. Instructions for use

3.1. Import js files to pages (such as html, jsp, asp, aspx, and php.

<script type="text/javascript" src="http://3aj.cn/file/js/calendar.js"></script>

Note the following:

1. The calendar. js file content is written as a UTF-8, please be sure to set the encoding of this file as a UTF-8

2. The above code content, Especially in XHTML-compliant documents

3. After the file is included, a calendar Object calendar has been automatically instantiated on this page. Now you can use it.

3.2. The simplest example

Use a predefined calendar Object to generate the calendar code: <input name = "date" type = "text" id = "date" onclick = "calendar ar. show (this); "size =" 10 "maxlength =" 10 "readonly =" readonly "/>

Of course, you can also do this:

New A new Calendar Object and generate the Calendar code: <input name = "date" type = "text" id = "date" onclick = "new Calendar (). show (this); "size =" 10 "maxlength =" 10 "readonly =" readonly "/>
 
This article is excerpted from the recommended JavaScript calendar control kimsoft-jscalendar.

Related Article

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.