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

173
Vistas
Trying to remove jQuery with vanilla javascript and cannot find equivalent of $('element1').html(element2)

I am trying to remove all the jQuery from my code and I cannot find the vanilla javascript equivalent of this:

post_template=document.getElementById('post_template')
$("#modal-body").html(post_template);

I've tried the following, but it does not work:

post_template=document.getElementById('post_template')
document.getElementById('modal-body').html=post_template

If someone has a website that can show me all the methods of the getElementById object that would be super useful...Surprisingly all the documentation I've found doesn't explain all the options I can put after getElementById.

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