A set of JavaScript multiple-choice questions has P4 answers
- Question 1. When does the Onchange event JavaScript happen?
- When an object in the form receives focus
- Occurs when the value of a field in the form is changed by the user
- When an object in form loses focus
- When you click your mouse on the command button
-
- Question 2. How to add a multi-line comment in JavaScript?
- / * This is a comment on many lines * /
-
- // This is a comment on many lines //
-
- Question 3. When does the Onload event JavaScript happen?
- When starting the program
- When you click
- At the end of a program
- When hovering over
-
- Question 4. Is JavaScript language case-sensitive?
- Have
- Is not
-
- Question 5. How can I know if the browser is being used at the client?
- navigator.appName
- browser.name
- client.navName
-
- Question 6. Which of the following statements correctly calls an external script named 'xxx.js'?
4 ★ | 1 Vote
You should read it
- Multiple choice questions about Javascript language
- A set of JavaScript multiple-choice questions with P5 answers
- Multiple choice questions to test your IQ P2
- Set of multiple choice questions about programming with P12
- Set of multiple-choice questions on award-winning programming P5
- Test of CSS knowledge - Part 5