Just a couple of notes:
1. The script language attribute is deprecated, so use type instead:
2. Unless you want to display a message, return false as hsriat pointed out is better:
[code=html]<div id="myDiv" onmousedown="re turn false;">[/CODE]
1. The script language attribute is deprecated, so use type instead:
Code:
<script type="text/javascript">
[code=html]<div id="myDiv" onmousedown="re turn false;">[/CODE]
Comment