Try something like this:
onchange=if (this.value.search(/[^a-zA-Z0-9]/) != -1) {this.value = '';
return;}
This will determine if there are any non-alphanumeric characters in the
string and destroy the entire string if there are, once the string
changes.
- Matt Small
-Original
Thanks Matt! Worked great.
- Original Message -
From: Matthew R. Small [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 10:31 AM
Subject: RE: Javascript for invalid CF characters
Try something like this:
onchange=if (this.value.search(/[^a-zA-Z0-9
I'm glad to have helped you.
-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:37 AM
To: CF-Talk
Subject: Re: Javascript for invalid CF characters
Thanks Matt! Worked great.
- Original Message -
From: Matthew R. Small [EMAIL
3 matches
Mail list logo