Write an HTML page that contains a text ¯eld for a credit card number and a button. When the button is clicked check that the text ¯eld has only numeric characters in it and check that the number of characters is 16. If not, use an alert dialog to inform the user.

What will be an ideal response?

```


A Simple Web Page


A Simple Heading


This is a very simple web page. It asks you for your credit
card number and when you click the button
it will check if the number is okay (16 digits only).


Enter your credit card number:



onClick="checkCreditCardNumber()">



```

Computer Science & Information Technology

You might also like to view...

________ consists of a set of separate programs for developing and testing Java programs, each of which is invoked from a command line.

a. Java language specification b. Java API c. Java JDK d. Java IDE

Computer Science & Information Technology

Which of the prototypes below would not be a valid overloaded function?

Given the overloaded function prototype: void CalcShape(int w); A. int CalcShape(int w, float p); B. void CalcShape(int w, int y); C. float CalcShape(int w); D. void CalcShape(char b);

Computer Science & Information Technology