nerdexam
CIW

1D0-635 · Question #20

Assuming the function <body onload="DisplayName()"> is called, which script block will display Hello Joe in the document window after you enter the name Joe?

The correct answer is B. <script type="text/javascript">. See the full explanation below for the reasoning.

Question

Assuming the function <body onload="DisplayName()"> is called, which script block will display Hello Joe in the document window after you enter the name Joe?

Options

  • A<script type="text/javascript">
  • B<script type="text/javascript">
  • C<script type="text/javascript">
  • D<script type="text/javascript">

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    79% (22)
  • C
    4% (1)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1D0-635 Practice