<script language="javascript">
/*document
function Youji()
{
alert("右擊成功!");
return false;
}
//為某個dom元素添加鼠標右擊事件
window
document
}
</script>
<div id="div
</div>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20228.html