jquery calendar price, inventory and other plug-in setting examples

小云云
Release: 2018-01-06 11:21:26
Original
2529 people have browsed it

This article mainly introduces the setting plug-in based on jquery calendar price, inventory, etc. It has certain reference value. Interested friends can refer to it. I hope it can help everyone.

Commodity calendar, price, inventory and other settings of jQuery plug-in

Jquery-based calendar price, inventory and other settings plug-in. The parameters (fields) that need to be set need to be customized, see (demo) usage for details...

Source code address: https://github.com/capricorncd/calendar-price-jquery

Create by capricorncd / 2017-06-11

How to use


    Capricorncd Calendar-Price-jQuery   
   

Copy after login

Usage renderings

Options parameters

•el: .Container (required), the container to display the calendar, any jquery selector is acceptable (#id, [attribute], .classs, etc.).

•startDate: 2017-06-20 (optional), start date. The start date of the data can be set. Months before this date cannot be set or operated. It supports a certain month 2017-06 or a certain day. Start date If the start date is not configured or is less than the current system time, the start date will be today.

•endDate: 2017-09-20 (optional), end date. The end date of data can be set in the calendar. Months after this date will not be displayed or operated. Same as startDate, it supports a certain month (the last day of the month by default) or a certain day. If this item is not configured, the system defaults to today one year later, that is, the date range is one year.

•data: mockData (optional), the data displayed on the calendar initially, see usage for details.

•config: array (required), corresponding to the data parameters (properties) in data. The configuration items in this configuration are the parameter fields that can be set. The key is the field that needs to be set, and the name is the input box. The name shown previously.

•show: array (optional), the parameters (properties) that need to be displayed in the calendar, corresponding to the data parameters (properties) in data. key is the field name that needs to be set, and name is the name (abbreviation) displayed in the calendar.

•callback: function (required), click the OK button to return all the data that has been set.

•cancel: function (optional), the callback function for clicking the cancel button.

•error: function (optional), callback function for errors, prompts, etc. in configuration or operation.

Source code address: https://github.com/capricorncd/calendar-price-jquery

Related recommendations:

Prepared for developers 10 best jQuery calendar plug-ins_jquery

jquery calendar control implementation method sharing_jquery

jquery calendar plug-in datepicker usage analysis_jquery

The above is the detailed content of jquery calendar price, inventory and other plug-in setting examples. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!