Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

303
Vistas
How to fetch items from console with javascript?
over 4 years ago · Juan Esteban Piedrahita Castañeda
1 Respuestas
Responde la pregunta

1

use getElementById() or getElementByClass() and find elements from the console.

For example:

 <html> <head> <title>Ejemplo getElementById</title> </head> <body> <p id="para">Cualquier texto acá</p> <button onclick="changeColor('blue');">Azul</button> <button onclick="changeColor('red');">Rojo</button> </body> </html>

 var elem = document.getElementById('para'); elem.style.color = red;

and you will change the color of the text to red.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda