Download and use method of My97DatePicker date control

Link: https://pan.baidu.com/s/1gbuDIW0AWBsaTd5vyU7OtQ
extraction code: 2n69

Instructions:

Add the following code to the page, introduce this control, src is the path of the file

<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>

Then use it in the input tag, readonly indicates that it is not editable, onclick is his built-in method, and the format of the date can be modified by yyyy-MM-dd

<input type="text" name="birthday" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />

 

Guess you like

Origin www.cnblogs.com/sky6699/p/12693232.html