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

151
Vistas
Trying to add and write data in textarea and want it to be reflected in the input field

Here is what I am doing, I am trying to write data and at the same time want to add the data to the input field, but the jquery code I have written is not doing it, something fishy I am doing, anyone can show me a way of doing it.

http://jsfiddle.net/4abeg2rs/

I am initially using an input field and want to disguise the user to write data in textarea because the way it is written is quite complicated if I change the input to replace textarea, my whole code server-side is breaking and I can't figure out why.

$('#input_A').show();
$("#input_B").hide();
$("#input_A").focus();
$('#input_A').html($("#input1").val());
    
$("#input_A").bind("keyup paste", function() {
  $("#input_B").val($(this).val());
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<textarea name="question" id="input_A" style="display:none"> </textarea>
<input class="form-control" type="text" id="input_B" name="question" value="">

about 4 years ago · Santiago Gelvez
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