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

152
Vistas
How to add new text field when button is clicked then collect the value of each added text field?

I can already add new text field on the click of the button, however I need to collect the value of each added text field and save those into the database (mysql)

This is the code

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

0

You can create an array to push each new word/ modified word into with something like this:

const words= [];
words.push("WORD");

See more at https://www.w3schools.com/jsref/jsref_push.asp

Now, regarding the MySQL part : you can not achieve access to a database from pure JavaScript on client side. You would need NodeJS in order to achieve access.

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