Check the phone number for valid using JavaScript

Hi all,

Use the following code for checking the valid phone number.

var filter = /^([0-9])+$/;
if (filter.test(textValue))
{
// ...Code here
}

...S.VinothkumaR.

No comments: