<?xml version="1.0" encoding="gb2312"?>
<!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" xml:lang="zh-ch" lang="zh-ch">
<head>
<title>日历控件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="0" />
<script src="date.js" type="text/javascript"></script>
</head>
<body>
<p>
<input type="text" style="border:1px solid #cccccc;" size="15" onclick="fPopCalendar(event,this,this)" onfocus="this.select()" readonly="readonly" id="date_input" />
<input type="button" value="清除日期" onclick="$('date_input').value=''" />
</p>
<label>
<select name="select" id="select01">
<option id="a">12321</option>
</select>
</label>
</body>
</html>
<script language="javascript">
$("calendardiv").onfocus=function(){document.getElementById("select01").style.display = "none";};
$("calendardiv").onblur=function(){document.getElementById("select01").style.display = "";};
</script>