Similarly, modify your form.html page to use variables. This will require a separate variable for each of the text boxes in the page. Once the contents of each of the boxes are assigned to variables, the variables should be integrated into the message being displayed.

What will be an ideal response?


```







Form Letter Generator



Form Letter Generator



Enter recipient's name:


Enter event:


Enter date:


Enter time:


onclick="recipient=document.getElementById('recipientBox').value; event=document.getElementById('eventBox').value; date=document.getElementById('dateBox').value; time=document.getElementById('timeBox').value; document.getElementById('outputDiv').innerHTML=
'

Dear ' + recipient + ',

Have you heard about ' +
event + ', which is coming up on ' + date + ' at ' + time +
'? It would mean a lot to me if you could make it to ' +
event + '. Hopefully, I\'ll see you ' + date + '.

' +
'

Your friend,
Dave

';">





```

Computer Science & Information Technology

You might also like to view...

Nontype parameters are:

a. Unable to have default arguments. b. Specified before the angle-bracket-enclosed type-parameter list. c. Constants. d. Required for class templates.

Computer Science & Information Technology

________ is the most widely used standard for home networks

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Restore Down button is part of the title bar

Indicate whether the statement is true or false

Computer Science & Information Technology

?The Point-to-Point Tunneling Protocol (PPTP) is an extension of the Internet's ____.

A. ?Internet Protocol (IP) B. ?Transport Control Protocol (TCP) C. ?Point-to-Point Protocol (PPP) D. ?Address Resolution Protocol (ARP)

Computer Science & Information Technology