Also it should not allow to enter any space, special charcter, as well as charcters. You can find an example in here S...-Java Script/6/ Hope this helps Mujahid Khaleel Web designing, development, E-commerce applications. Still iam unable to achive for writing the code for Phone No Validation.
They are shipped in English by default, but many other languages are available, thanks to the awesome international Parsley community. To load a different locale and its messages, include them after Parsley: The last loaded file will automatically set the messages locale for Parsley.
In the example above, we load both French and Italian translations, and use Italian.
Everyone knows that a credit card number is normally made up of 12-16 numbers.
However there are many ways that people type their number into a form, often including spaces or hyphens to break up the number and make it more readable.