onpaste fired oncontextmenu

Somebody pointed out to me a rather troubling issue. Right-clicking on a page to bring up the context menu fires the onbeforepaste event. What if you want to copy text and not paste? The event shouldn't fire. The solution is not to use the default context menu. Create your own context menu to get around the issue.

Published August 29, 2003 · Updated September 17, 2005
Categorized as MSHTML and DEC
Short URL: http://www.shoppingpr.com/s/14
99热这里只有精品国产,免费99精品国产自在现线,99国产这里有精品视频