javascript 小知识点(1)
2008-05-29 10:01
337 查看
操作表格 document.all.tbl1.rows[0].cells[1].innerHTML="";
//屏蔽右键系统菜单
document.getElementById("ASPxRoundPanel1_ASPxGridView1").oncontextmenu=function(event) {
if (document.all) window.event.returnValue = false;
else event.preventDefault();
};
//删除提示
document.getElementById("ASPxRoundPanel1_ASPxGridView1").onmouseup=function(oEvent) {
if (!oEvent) oEvent=window.event;
if (oEvent.button==2) {
if(confirm('你确定要删除吗?'))
{
ASPxGridView1.GetRowValues(ASPxGridView1.GetFocusedRowIndex()
,"id;ErrContext",SingleClick);
}
}
}
//屏蔽右键系统菜单
document.getElementById("ASPxRoundPanel1_ASPxGridView1").oncontextmenu=function(event) {
if (document.all) window.event.returnValue = false;
else event.preventDefault();
};
//删除提示
document.getElementById("ASPxRoundPanel1_ASPxGridView1").onmouseup=function(oEvent) {
if (!oEvent) oEvent=window.event;
if (oEvent.button==2) {
if(confirm('你确定要删除吗?'))
{
ASPxGridView1.GetRowValues(ASPxGridView1.GetFocusedRowIndex()
,"id;ErrContext",SingleClick);
}
}
}
相关文章推荐
- javascript简要知识点
- javaScript知识点整理(二)
- JavaScript 提高性能的几个知识点总结
- 基础总结知识点-第五章JavaScript语言基础
- JAVASCRIPT的一些知识点梳理
- JavaScript 知识点简单介绍
- [转]8年javascript知识点积累
- JavaScript知识点总结(十一)之js中的Object类详解
- JavaScript知识点之“private&public”
- JavaScript易错知识点整理
- JavaScript一些小知识点
- javascript入门知识点总结(一)
- javascript面试的5个冷门知识点
- javaScript知识点总结(必看篇)
- 关于对JavaScript待于完善的一些知识点
- JavaScript的21条基本知识点
- JavaScript的相关知识点汇总
- javascript知识点
- javascript 基本概念(数据类型,小知识点)
- 面试开发常用的 JavaScript 知识点总结