window.returnValue="***";
var str=window.showModalDialog(url)
var str=window.showModalDialog(url,obj)
window.dialogArguments
window.open()
window.opener
document.onkeydown=hideF5;
function hideF5(){
if(event.keyCode==116){
event.keyCode=0;
event.returnValue=false;
}
}
altKey, ctrlKey,shiftKey, keyCode, button, cancelBubble,
clientX, clientY, offsetX, offsetY, screenX, screenY, x, y(如果事件触发后,鼠标移出窗口外,则返回的值为 -1)
srcElement, srcFilter, toElement, fromElement, 检测 onmouseover 和 onmouseout 事件发生时,鼠标所离开的元素
propertyName, returnValue,
type
event.button
可能的值:
0 没按键
1 按左键
2 按右键
3 按左右键
4 按中间键
5 按左键和中间键
6 按右键和中间键
7 按所有的键
这个属性仅用于onmousedown, onmouseup, 和 onmousemove 事件。对其他事件,不管鼠标状态如何,都返回 0(比如onclick)
window.event.cancelBubble = true;