Try this out:
if ( !/[a-z0-9\-_]/i.test( $("[EMAIL PROTECTED]'firstname']").val() ) )
alert('Wrong!');
On 6/16/08, shapper <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> How can I check the value inserted in an Input using a RegEx
> expression?
>
> Thanks,
> Miguel
>
--
Isaak Malik
Web Developer
http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage
Jörn
On Mon, Jun 16, 2008 at 12:11 PM, shapper <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> How can I check the value inserted in an Input using a RegEx
> expression?
>
> Thanks,
> Miguel
>
2 matches
Mail list logo