Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

281
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda