e-
From: Peter Boughton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 5:57 PM
To: CF-Talk
Subject: Re: How to turn this into a REGEX for use in javascript?
-- Does your code ... ?
Yup.
-- If so, that would do the same thing.
Well it achieves the same result, but I would guess that
>
>Rick
>
>-Original Message-
>From: Peter Boughton [mailto:[EMAIL PROTECTED]
>Sent: Saturday, March 10, 2007 2:22 PM
>To: CF-Talk
>Subject: Re: How to turn this into a REGEX for use in javascript?
>
>Odd way of doing things?
>
>I
ch 10, 2007 6:22 PM
To: CF-Talk
Subject: Re: How to turn this into a REGEX for use in javascript?
Rick,
Here's a similar statement that I use in my own jQuery validation
plug-in. It validates phone numbers saying basically, after stripping
out all the parenthesis and dashes, if the remaining
gt;
>
>
> -----Original Message-----
> From: Dinner [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 10, 2007 4:02 PM
> To: CF-Talk
> Subject: Re: How to turn this into a REGEX for use in javascript?
>
> You could even put the below in the onchange, so the user knows wha
0, 2007 2:22 PM
To: CF-Talk
Subject: Re: How to turn this into a REGEX for use in javascript?
Odd way of doing things?
I'd switch it to something like this:
.
Which (I think) can be translated into this JS:
if (sale_price.match(/[^0-9.$,]/) == false)
{
.
}
>Hi, all.
>
>
[mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 4:02 PM
To: CF-Talk
Subject: Re: How to turn this into a REGEX for use in javascript?
You could even put the below in the onchange, so the user knows what's
gonna happen ahead of time. Assuming the below works. ;-)
On 3/10/07, Peter
You could even put the below in the onchange, so the user knows what's
gonna happen ahead of time. Assuming the below works. ;-)
On 3/10/07, Peter Boughton wrote:
>
> Odd way of doing things?
>
> I'd switch it to something like this:
>
>
>
>
> Which (I think) can be translated into this JS
Odd way of doing things?
I'd switch it to something like this:
Which (I think) can be translated into this JS:
if (sale_price.match(/[^0-9.$,]/) == false)
{
}
>Hi, all.
>
>I've been tinkering with validation using js and would
>like to know how to turn this into a regex for use in
8 matches
Mail list logo