document.onmousedown=function(){
}
}
解决方案 »
- jquery的datagrid 的toolbar 如何要增加查询功能,该怎么做?
- getJson(),回调函数不执行。
- iframe框架父窗口子窗口提交的问题
- 纵向js相册 缩略图上onmouseover时 大图有随机特效
- eval()执行的问题 标点符号的问题
- 请问只能接受数字的难题
- document.write 不显示
- 大家来看看阿里巴巴网站的提供的一个功能,有几点没搞清楚
- 如何实现文字在点击之后变成可编辑的输入框?在线等待。
- 怎样用不同格式的图片做图片轮现?
- 救命呀!请问我要做个当鼠标点击文本框时就可弹出时间选择器,可选着年份和日期。谢谢!
- 我用history.go(-1)返回到上个页面,会出现网页过期的现象,但是再刷新一下,就不会出现这种问题,哪位GGJJ知道原因啊?多谢
onclick="return false";
onmousemove="return false";
oncontextmenu="return false";
ondragstart="return false";
onselectstart="return false";
onselect="return false";
oncopy="return false";
onbeforecopy="return false";
onmouseup="return false";
//多屏蔽一个算一个,呵呵
//上帖忘记with了
ondblclick="return false";
onclick="return false";
onmousemove="return false";
oncontextmenu="return false";
ondragstart="return false";
onselectstart="return false";
onselect="return false";
oncopy="return false";
onbeforecopy="return false";
onmouseup="return false";
//多屏蔽一个算一个,呵呵
}
parent.rightFrame.body.disabled=true; //执行完成后,再改回来
parent.rightFrame.body.disabled=false;
alert("正在处理中");//注意必须要有这个alert函数。否则处理得太快了这个函数没起作用了
if(window.event != null){
window.event.returnValue = false;}
}
function submitClick(){
window.event.returnValue = true;
}处理前:
window.Form1.attachEvent("onmousedown",cancelClick);
window.parent.mainFrame.document.Form1.attachEvent("onmousedown",cancelClick);处理完毕后:
window.Form1.attachEvent("onmousedown",submitClick);
window.parent.mainFrame.document.Form1.attachEvent("onmousedown",submitClick);
注意disabled只能使页面变灰。。控件一样能够点击呵呵
你可以去试试看
alert("正在处理中");//注意必须要有这个alert函数。否则处理得太快了这个函数没起作用了
if(window.event != null){
window.event.returnValue = false;}
}处理前:
window.Form1.attachEvent("onmousedown",cancelClick);
window.parent.mainFrame.document.Form1.attachEvent("onmousedown",cancelClick);处理完毕后:
window.Form1.detachEvent("onmousedown",cancelClick);//注意改成detachEvent函数。前面那种做法没办法解除状态的。一点点疏漏。呵呵。
window.parent.mainFrame.document.Form1.detachEvent("onmousedown",cancelClick);再次谢谢大家的帮忙。希望各位加我QQ:2396199
大家平常多交流切磋