aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Javascript help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Javascript help needed

Shrikanth Nekkanti
Ranch Hand

Joined: Jul 12, 2007
Posts: 48
Hi all I have created a HTML page which consists of many text fields.
I am using onkeypress event to restrict user not to enter special characters in text fields.

This event is working fine but the problem is when user copies special characters from some other place to text field , it is accepting special characters how can I solve this problem.

How to handle this situation.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

In a forum dedicated to JavaScript questions, a subject of "JavaScript help needed" is rather useless.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Please do not post the same question more than once.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript help needed
 
Similar Threads
javascript regular expression related problem.
Problem with encoding
HTML Form Upload produces junk characters
Security Remediation in My current application
Encoding of special characters in the request parameter