1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > jQuery日历控件(JS日期拾取器)实用精简

jQuery日历控件(JS日期拾取器)实用精简

时间:2021-04-19 18:23:35

相关推荐

jQuery日历控件(JS日期拾取器)实用精简

查看效果

下载地址

前台部分代码

代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="/1999/xhtml">

<head>

<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/>

<metahttp-equiv="Content-Language"content="zh-CN"/>

<metacontent="all"name="robots"/>

<metaname="author"content="bujichong"/>

<metaname="Copyright"content=""/>

<metaname="description"content=""/>

<metaname="keywords"content=""/>

<title>JQuery日历插件datePicker简单示例</title>

<linkrel="stylesheet"type="text/css"href="demo/css/datePicker.css"/>

<scriptsrc="demo/js/jquery-1.3.2.min.js"type="text/javascript"></script>

<scriptsrc="demo/js/jquery.datePicker-min.js"type="text/javascript"></script>

<!--[ifIE]><scripttype="text/javascript"src="demo/js/jquery.bgiframe.min.js"></script><![endif]-->

<scripttype="text/javascript">

$(window).ready(function(){

$('.date-pick').datePicker({clickInput:true});

});

</script>

</head>

<body>

<p><label>起订时间:</label><inputtype="text"name="it"class="itdate-pick"/></p>

<p><label>订购方式:</label><inputtype="radio"name="ir2"class="ir"/>全年&nbsp;<inputtype="radio"name="ir2"class="ir"/><selectname="so"class="so">

<optionvalue="0"selected="selected">1</option>

<optionvalue="1">2</option><optionvalue="1">3</option>

<optionvalue="1">4</option><optionvalue="1">5</option>

<optionvalue="1">6</option><optionvalue="1">7</option>

<optionvalue="1">8</option><optionvalue="1">9</option>

<optionvalue="1">10</option><optionvalue="1">11</option>

</select>期</p>

</body>

</html>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。