Microsoft
98-382 · Question #27
You are creating a web page with a script. The script will insert the window's location inside the page's input element. How should you complete the code? To answer, drag the appropriate code…
See the full explanation below for the reasoning.
Working with the Document Object Model (DOM)
Question
You are creating a web page with a script. The script will insert the window's location inside the page's input element. How should you complete the code? To answer, drag the appropriate code segment to the correct locations. Each code segment may be used once, more than once, or not at all.
Code segments:
window, location, document, getElementById
Code snippet to complete:
<script>
_______ . _______ . _______ (_______ ) . value = _______ . _______;
</script>
Topics
#window.location#getElementById#DOM manipulation#input element
Community Discussion
No community discussion yet for this question.