<!DOCTYPE HTML>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no;" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<head>
<title>jquery酒店入住离店时间范围选择插件演示</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/dateRange.js"></script>
<link rel="stylesheet" type="text/css" href="css/dateRange.css"/>
</head>
<body>
<br><br><br><br><br>
<!-- 代码 开始 -->
<div style="margin:0 auto; width:250px; height:100px;">
<div class="ta_date" id="div_date1">
<span class="date_title" id="date1"></span>
</div>
</div>
<script type="text/javascript">
var dateRange1 = new pickerDateRange('date1', {
stopToday : false,
isTodayValid : true,
startDate: '2015-11-05',
endDate: '2015-11-06',
needCompare : false,
defaultText : ' 离开 ',
autoSubmit : false,
inputTrigger : 'input_trigger1',
theme : 'ta'
});
</script>
<!-- 代码 结束 -->
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>转载请注明出处,此代码仅供学习交流,请勿用于商业用途。</p>
</div>
</body>
</html>