Optimism is an occupational hazard of programming: feedback is the treament. -- Kent Beck
Log In
Providing Microsoft .NET Articles and Code Samples since 2002
Home
→
Articles
→
Javascript Char Codes (Key Codes)
→
Comment
Home
Search
Articles
Categories
About
Welcome to my blog and project site for Microsoft.NET development.
I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ...
more
Share/Print this page:
Please enter your reply for the comment shown below:
Post Your Comment
You may post without logging in or
login here
.
Display Name:
Required.
Email:
Required. Will not be shown. Used for identicon.
Comment:
Allowed tags: <quote></quote>, <code></code>, <b></b>, <i></i>, <u></u>, <red></red>
Please type text as shown in the image at left.
Replied
2008 Mar 14 15:52 PM
by
Jason Miller
.
reply
This isn't flash/ActionScript, you dolt. textarea.onmousedown=function(e){ if(!e) e=window.event; if((e.which&&e.which!=2) || (e.button&&e.button!=2)) // Left click (actually, just a *non* right-click. };