这个插件很简单:只需要在HTML代码中引入插件如下,CLASS名和click事件函数固定!
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>8My97日历插件的普通使用</title> <script src="scripts/jquery-1.11.3.js"></script> <script src="My97DatePicker/WdatePicker.js"></script> </head> <body> <input class="Wdate" type="text" onclick="WdatePicker()"> </body> </html>
实现效果: