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

158
Vistas
Does "id" become unique if the display property of the element with the same id is set to "none"?

Let's say you have a DIV element with id="row" in your document. And then you inserted a new DIV with the same id name and set the display property of the previous DIV to "none". Does that id of the newly created DIV become unique?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

No. Display:none is just a CSS property. Which means the element doesn't render in the view. But it exists in DOM. It exists in your syntax, and JS can work with it.

about 4 years ago · Juan Pablo Isaza Denunciar

0

No..It doesn't matter if they are hidden(display :"none")or not they are still in the document. Even if they are created dynamically they shouldn't have the same ID. "it's not a valid markup"

about 4 years ago · Juan Pablo Isaza 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