On paper, specify JavaScript assignment statements that would embed the following lines of text in a page division named outputDiv. Then, verify that your statements work associating each statement with the ONCLICK attribute of a button.
The announcer screamed "Cubs win! Cubs win!"
The oath began as "I, 'state your name' swear to uphold..."
The oath began as "I, "state your name" swear to uphold..."
```
document.getElementById('outputDiv').innerHTML=
'The announcer screamed \'\'Cubs win! Cubs win!\'\' ';
document.getElementById('outputDiv').innerHTML=
'The oath began as \'\'I, \'state your name\' swear to ' +
'uphold...\'\' ';
document.getElementById('outputDiv').innerHTML=
'The oath began as \'\'I, \'\'state your name\'\' swear to ' +
'uphold...\'\' ';
```
You might also like to view...
____ changes picture color into black, white, and shades of gray.
A. Blackscale B. Grayscale C. Whitescale D. Colorscale
Which of the following Option buttons gives options for filling cells following a fill operation?
A. Auto Fill Options B. AutoCorrect Options C. Insert Options D. Paste Options
The code to set the desired year in the calendar, given a calendar object named c, is ____________________.
Fill in the blank(s) with the appropriate word(s).
In some markets a few top performers receive a disproportionate share of the rewards. Frank and Cook call this phenomenon
a. capitalism. b. inevitable. c. liberalism. d. socialism. e. the winner-take-all effect.