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

276
Vistas
How to store strings that contain ' and " in a HTML inputs value

I am attempting to store HTML tags that contain "" and '' in a html inputs value but this escapes the HTML inputs value and displays the HTML on the page rather than being stored in the inputs value for me to then submit.

What is happening is that the "" and '' inside the HTML tag is closing the existing "" and '' causing the issue.

I have tried using escape and adding slashes neither solution works.

<input type="hidden" name="name" id="id1" value="<p><span style="font-family:'Noto Sans JP';">Enter text here.</span></p>"/>
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