javascript - Detect paste in input box -


I have an input box, and I do not use vbscript or javascript (no jquery) to capture paste events Would like to do / P>

Use the Open Event to capture the event and what you should do in JavaScript. To disable the paste in the input text field such as:

  & lt; Input type = "text" onpaste = "return false;" / & Gt;    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -