Design and create a Web page named phoney.html that converts alphabetic phone numbers into entirely numeric ones.
Question:
Design and create a Web page named phoney.html that converts alphabetic phone numbers into entirely numeric ones. Your page should allow the user to enter the number (possibly containing letters) in a text box. When the user clicks a button, the page should call a function to translate the input, generating a version of the phone number in which all letters have been replaced by their corresponding digits. For example, '1-800-IAM-DAVE' should be translated to '1-800-426-3283'.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: