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

171
Visualizações
Adding Multiple Linefeed in Confirm dialogue using Javascript?

We got an requirement in which we have to add two linefeed after paragraph to make the confirm box look user friendly.

I was able to achieve single line feed on text in confirm dialogue. But when I am adding two line feeds its still taking it as single line feed. Is there any way to add two line feeds to display the text below with some space?

Confirm Dialogue Example

Requirement is to display the first line and the second line with having two linefeeds instead of one linefeed. Is it possible to achieve it in javascript?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Found a way to do it using unicode U+2800 Braille Pattern Blank.( \u2800 )

Example:

Paragraph\n\u2800\nText?

Output in alert/confirm dialogue box:

Paragraph

Text?

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