here is a code : http://pastebin.com/qCNGSKRn to display telephone filed to enter telephone number.
i want to restrict above field to accept only numbers and also maximum 10 numbers to be entered. all special charactars and special symbols and white spaces should not allowed.
that field should not accept more than 10 digits.
please help me to find solution.