A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Disable mouse selections in JSP Input Field
Joined: May 08, 2008
Jul 21, 2008 06:28:00
I have a
Page in which I have 2 input fields -
First one for entering email address and second one for Re-Entering email address.
But my question is that is there a way to disable Cut & Paste options from browsers 'EDIT' Menu.
If not then how can i block mouse selection from Input fields, that is disallow users to select what they typed in Input Box.
Joined: Dec 11, 2004
Jul 21, 2008 06:45:00
There is no such thing as a JSP input field.
How to ask a question...
Simple Servlet Examples
Joined: Nov 08, 2001
Jul 21, 2008 07:25:00
There is really no real way to do it. Most companies do not bother to block it.
You can look into oncopy and onpaste, but they are not widely supported.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Disable mouse selections in JSP Input Field
Disabling short cut keys
Copy and Paste from EXCEL to HTML Text Input
How to disable the right click button in Textfield o HTML form with NN4
Retrict copy from a text field
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014