11 2007 档案
摘要:onabort 当用户中断下载图像时触发。
onactivate 当对象设置为活动元素时触发。
onafterprint 对象所关联的文档打印或打印预览后立即在对象上触发。
onafterupdate 当成功更新数据源对象中的关联对象后在数据绑定对象上触发。
onbeforeactivate 对象要被设置为当前元素前立即触发。
onbeforecopy 当选中区复制到系统剪贴板之前在源对象触发。
onbeforecut 当选中区从文档中删除之前在源对象触发。
onbeforedeactivate 在 activeElement 从当前对象变为父文档其它对象之前立即触发。
onbeforeeditfocus 在包含于可编辑元素内的对象进入用户界面激活状态前或可编辑容器变成控件选中区前触发。
阅读全文
摘要:1.document.write(""); 输出语句
2.JS中的注释为//
3.传统的HTML文档顺序是:document-html-(head,body)
4.一个浏览器窗口中的DOM顺序是:window-(navigator,screen,history,location,document)
阅读全文
摘要:动态添加Html单元格时,事件怎么写?如mouseover事件
tr=Grid1.insertRow(Grid1.rows.length);
td=tr.insertCell();
td.innerText="a";
td=tr.insertCell();
td.innerText="b";
比如要在经过这一行时,怎么写mouseover事件?
阅读全文
摘要:作了些改动,呵呵,以前他的那个数字是要根据在线用户来计算的,我改成随机的了,现在把源码贴出来 getcode.aspx代码如下 1using System; 2using System.Data; 3using System.Configuration; 4using System.Collections; 5using System.Web; 6using System.Web.Se...
阅读全文