JavaScript Demo Program Using getElementById() and Without Forms

Here is a form whose content can be changed: Enter your name:
Enter another name:

Watch me!

Here is a picture: