Write an HTML page that has a text field in it. Write some JavaScript to change some text on the page when the string in the text field has been changed. For instance the user could enter her name in a text field and the text on the page could change to use her name.

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 name
and then shows the name you typed after you click off of the
text field.


Enter your name:


onChange="document.getElementById(’nameDisplay’).innerHTML=
’Your name is ’ + this.value">



```

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. All exceptions must derive from the class Throwable. b. The class Throwable provides the method getStackTrace that outputs the stack trace to the standard error stream. c. The class Throwable provides the method getMessage that returns the descriptive string stored in an exception. d. The string returned from class Throwable’s getMessage method contains the name of the exception’s class.

Computer Science & Information Technology

To provide transparency for e-mail applications, an encrypted message may be converted to an ASCII string using _________ conversion.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

This process permits users to authenticate only once, after a successful authentication users are trusted to access other services or systems based on the ticket.

What will be an ideal response?

Computer Science & Information Technology

Which of the following is the default desktop environment used by Linux Mint?

A. GNOME B. KDE C. Unity D. Cinnamon

Computer Science & Information Technology