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

167
Vistas
JavaScript "\r" carriage return is not working in recent version of Chrome 93.0.4577.82 while using in javaScript and encoding the URl

Example

"Hello test" + "\r welcome world"

Current output :

Hello testwelcome world

expected output :

Hello test
welcome world
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

The easiest way to break lines in JS is, using <br> tag. That's the line breaking tag in HTML.

Example

"Hello test <br> welcome world"

Here is the answer.

document.write("Hello test <br> welcome world")

All the best.

about 4 years ago · Juan Pablo Isaza Denunciar

0

Okay! Add %0D%0A to the place you want to encode a line break on the URL.

  • %0D - carriage return character
  • %0A - line break character

Example :

"Hello test%0D%0Awelcome world"
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