A good JS calendar for source code download. Attached screenshot

Source: Internet
Author: User

As follows,

Usage

Introduce <SCRIPT src = "JS/calendardateinput. js"> </SCRIPT>
You can modify the image path in calendardateinput. js.
Call:

From <input type = "text" size = "10" name = "sdate">
<SCRIPT type = "text/JavaScript">
Dateinput ('sdate', 'yyyy-MM-DD ', '2017-11-17 ');
</SCRIPT>
& Nbsp;
<Input type = "text" size = "10" name = "edate">
<SCRIPT type = "text/JavaScript">
Dateinput ('datedate', 'yyyy-MM-DD ', '2017-11-18 ');
</SCRIPT>

Download the source code

Second.


< Script Language = 'Javascript' SRC = '/Include/popcalendar. js' >

</ Script >
< Script Language = 'Javascript' SRC = '/Include/calendar. js' >

</ Script >


Select Date: </ TD >
< TD Colspan = '2' Class = 'Ifont1' > < Input Name = 'I3' Type = 'Image' Onclick = "Popupcalendar (this, this. Form. abtime, 'yyyy-mm-dd'); Return false ;" SRC = '/Wcm/zwinside/bmzc/zhjszx/xxs/images/ew_calendar.gif' ALT = 'Select A date' Align = 'Middle' Width = '20' Height = '15' >
< Input Type = 'Text' Name = 'Abtime' Class = 'Inputnormal' Size = '12' Value = '2017-11-20' >
To
< Input Name = 'I32' Type = 'Image' Onclick = "Popupcalendar (this, this. Form. abtime2, 'yyyy-mm-dd'); Return false ;" SRC = '/Wcm/zwinside/bmzc/zhjszx/xxs/images/ew_calendar.gif' ALT = 'Select A date' Align = 'Middle' Width = '20' Height = '15' >
< Input Type = 'Text' Name = 'Abtime2' Class = 'Inputnormal' Size = '12' Value = '2017-11-20' >
& Nbsp; </ TD >


I have never used this calendar .. You can view the code in the image path ..

/Files/genson/calendar2.rar

3rd.

Call:

<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< Html Xmlns = "Http://www.w3.org/1999/xhtml" >
< Head >
< Meta HTTP-equiv = "Content-Type" Content = "Text/html; charset = gb2312"   />
< Title > Untitled document </ Title >
< Script SRC = "Meizzdate. js"   > </ Script >
</ Head >

< Body >
< Input Onfocus = "Setday (this )" Type = "Text" Name = "T" />
</ Body >
</ Html >

/Files/genson/calendar3.rar

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.