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

176
Vistas
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 Respuestas
Responde la pregunta

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 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