Javascript Final Exam Questions and Answers 100% Correct
Javascript Final Exam Questions and Answers 100% Correct - Correct Answer️️ - Anywhere in the body of a web page - Correct Answer️️ -Where are form /form tags placed? submit, reset, & hidden - Correct Answer️️ -Buttons that can be automatically created using the type attribute are: By email, to a javascript program, & to a server - Correct Answer️️ -Which of the following are ways to submit form data? name - Correct Answer️️ -When using a set of radio button, which attribute must be the same for all buttons in the set? shortString = longSr (6, 3); - Correct Answer️️ -Which line of code should be used to make the following code snippet work? var longString = "Great day, isn't it?"; var shortString = ______________________ ("It's going ton rain to" + shortString); Which of the following will send form results from a form named "importantInfo" to the email address with the subject "Read this!" - Correct Answer️️ -Which of the following will send form results from a form named "importantInfo" to the email address with the subject "Read this!" if (var charX.charAt[i] == "X"); - Correct Answer️️ -Which line of code will check if any character in the string variable pword is the letter X and return true for the variable check? var check = false; for (i = 0; i h; i++) { _____???_______ check = true; } the id attribute - Correct Answer️️ -Given the following line of code, what does the this keyword refer to? input type = "button" name = "murgatroyd" id = "Mortimer" onclick = "doSomething()" / tab index - Correct Answer️️ -Which of the following sets or changes the tab order of form controls? onfocus = "setBlue('blue')" - Correct Answer️️ -Which of the following will call a function named setBlue() when a text box with id = "blue" gets the focus? a href="Javascript:doStuff()" img src = "redB" /a - Correct Answer️️ - Which of the following will substitute an image named redB that is stored in the same place as the web page for a generic button? The doStuff() function is called when the button is clicked. ElementById("color_change").round = "blue"; - Correct Answer️️ -Which of the following is the correct way to set a backgrou
Información del documento
- Subido en
- 16 de junio de 2024
- Número de páginas
- 14
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas