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

160
Vistas
How do I make a type anywhere text area

I am very new to all of this. I want a user to be able to type anywhere in a text area. Wherever the cursor is when they click is where they start typing. Is this something that can be done in a textarea or is there a better way to make this happen in HTML?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It can be a way to fill your textarea with spaces and then you can type wherever you clicked on.

use JQuery :

var $contentTextarea = $("textarea[name='contents']");

var cols = Number($contentTextarea.attr("cols"));
var rows = Number($contentTextarea.attr("rows"));

for(var i = 0; i < cols; i++){
    for(var j = 0; j < rows; j++ ){
         $contentTextarea.append(" ");
    }
    $contentTextarea.append("\n");
}

check out this here for more.

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