Home  >  Article  >  Web Front-end  >  jquery implements the code that the right mouse click of the text box is invalid and cannot be entered_jquery

jquery implements the code that the right mouse click of the text box is invalid and cannot be entered_jquery

WBOY
WBOYOriginal
2016-05-16 18:16:56962browse

The specific program code is as follows:

Copy code The code is as follows:





Among them, e.which==3 is used to determine whether the mouse is right-clicked.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn