Javascript Code Help

Started on the old forum in March 2013 · view the original in the archive · old links redirect here

1 reply · 419 views · started 13 years ago · 1 min read

2 participants
Christian Cepe Newbie · 7 posts #1

I have a input and i want to disable typing in the input box i just to allow CTRL+V key or pasting character then if there is pasted in the input box it will submit the form. Can you help me? Thanks

something else Fellow · 2,296 posts #2

I'm not sure if this is possible due to onKeyUp/onKeyDown having the same effect as pasting via Ctrl v If it was pasting by right click / paste then it would be easy.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close