1.鼠标经过自动选取的复选框:
<input TYPE="checkbox" onMouseMove="checked=true">
<input TYPE="checkbox" onMouseMove="checked=true">
2.ACCESS 列出某一天所属星期的天数
SELECT *
FROM ctdate_by_query_date
WHERE dateandtime between ((#2006-5-15#+Weekday(2006-5-15))-6) and #2006-5-15#+Weekday(2006-5-15)
//这个算法可费了我个把小时
查询一个日期所隶属星期所有天数的数据
3. 双击滑鼠拷贝文本, 现在双击一下就清楚
<script LANGUAGE="JAVASCRIPT">
function ClipBoard(tdObj) { //IE Only
var holdtext = document.all['holdtext'];
holdtext.innerText = tdObj.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand("Copy");
alert("text copied");
}
</script>
<form NAME="form1" METHOD="post" ACTION="">
<ttextarea id="holdtext" style="display:none" ROWS="10"></ttextarea>
</form>