Exam 70-480 Topic 8 Question 46 Discussion

Actual exam question for Microsoft's 70-480 exam
Question #: 46
Topic #: 8
You are developing a web form that includes the following code.

When a user selects the check box, an input text box must be added to the page dynamically.
You need to ensure that the text box is added.
Which function should you use?

Suggested Answer: B Vote an answer

Explanation/Reference:
Explanation:
We create a now div element with the textbox.
We then use appendChild() method appends this node as the last child the input node divname.
Reference: HTML DOM appendChild() Method

by Christine at Jan 21, 2024, 01:45 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10