Which of the following is a valid variable name in JavaScript?
Answer : B
Consider the following code:
Answer : C
What basic code is needed to define a function in JavaScript?
Answer : C
Consider the following code:
Answer : B
Which statement will return the name of the browser being used to view the script?
Answer : A
Consider the following code using a checkbox object:
Answer : A
Consider the following select list:
Answer : C
Which statement is true about the getElementByID() method?
Answer : A
Consider the following code:
Answer : A
Which is the best technique to test a script for cross-browser compatibility?
Answer : C
You want to add a personalized interaction with your users when they enter your Web site.
To do this, you can display a JavaScript prompt on the home page that asks the user to enter her name. When the user enters text and clicks the OK button, an alert dialog box will appear and display the text "Welcome, name" (where name is the text entered by the user).
Which choice shows the correct JavaScript code for this action?
Answer : A
Which choice best defines events and event handlers?
Answer : A
Which of the following demonstrate the correct syntax for the switch statement?
Answer : A
You want to display a series of elements. Which choice demonstrates the correct syntax for an array in JavaScript?
Answer : B
In an X/HTML form, which script block will retrieve an input value and display it back without errors or warnings?
Answer : D
Have any questions or issues ? Please dont hesitate to contact us