`

jquery日期日历插件

 
阅读更多
<!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=utf-8" />
    <title>一款简洁大气的jquery日期日历插件 </title>
    <link rel="stylesheet" type="text/css" href="css/manhuaDate.1.0.css">
    <script src="jquery-1.8.3.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/manhuaDate.1.0.js"></script>
    <script type="text/javascript">
        $(function () {
            $("input.mh_date").manhuaDate({
                Event: "click", //可选				       
                Left: 0, //弹出时间停靠的左边位置
                Top: -16, //弹出时间停靠的顶部边位置
                fuhao: "-", //日期连接符默认为-
                isTime: false, //是否开启时间值默认为false
                beginY: 1949, //年份的开始默认为1949
                endY: 2100//年份的结束默认为2049
            });
        });
    </script>
</head>
<body>
    <div>
        <h1>
            一款简洁大气的jquery日期日历插件</h1>
        <input type="text" class="mh_date" readonly="true" />
        
    </div>
    
</body>
</html>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics