Tema 5: Formularios y Eventos

Quiz
•
Computers
•
12th Grade
•
Hard
Antonio Carrasco
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
La etiqueta <FORM> de HTML se convierte en JavaScript
En un objeto de tipo document
En una función del objeto document
En una propiedad del objeto document
En una objeto de la etiqueta document
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Señala las correctas (más de 1):
Dado el formulario identificado por
<FORM id="contactar">
podemos seleccionar el objeto form desde "document."...
getElementByTagName("form")[0]
forms[0]
contactar.form
getElementById("contactar")
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Verdadero o Falso: Dada la etiqueta <FORM id="f" action="url">, la propiedad action del objeto form se puede cambiar desde JS haciendo:
document.getElementById("f").action = otraUrl;
Verdadero
Falso
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
<form id="fB" action="cgi-bin/buscar.pl">
<input type="text" id="entrada">
</form>
Podemos acceder al objeto entrada (+1 correcta):
document.fB.entrada
document.fB.elements[0]
document.forms.entrada
document.forms["fB"].entrada
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Dado la variable hecho que representa un objeto input de tipo checkbox, podemos saber si está seleccionado:
Si
hecho.value = checked
Si
hecho.checked = true
Si
hecho.value = true
Si
hecho.selected = true
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Dada la variable s que representa un objeto de tipo select (etiqueta <select> de HTML)(+1 correcta)
s.options[s.selectedIndex] devuelve el objeto option seleccionado
s.selected.value es el valor de la opción seleccionada
s.selectedIndex es el índice de la opción seleccionada
s.value es el valor de la opción seleccionada
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
La especificación DOM define cuatro grupos de eventos, señala las correctas (+1 correcta)
Eventos de usuario
Eventos HTML
Eventos de ratón
Eventos de formulario
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Informatica

Quiz
•
1st Grade - University
16 questions
Programación en Java

Quiz
•
12th Grade
16 questions
Questions M2

Quiz
•
1st - 12th Grade
20 questions
FORMULAS EN EXCEL

Quiz
•
10th - 12th Grade
15 questions
Repaso BBDD Junio

Quiz
•
12th Grade
25 questions
HTML, CSS & JS

Quiz
•
11th - 12th Grade
15 questions
Robótica - Quiz#1

Quiz
•
3rd - 12th Grade
15 questions
Preguntas sobre SQL

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade