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

141
Vistas
Getting values of text field which are in associative array form

I have below text fields with names as associative array. How can i get value of these fields in javascript and pass it in jquery.

<input id="personNameAlt" name="call[1][name]" value="" type="text" class="field">
<input id="personNameAlt" name="call[1][email]" value="" type="text" class="field">


<input id="personNameAlt" name="call[2][name]" value="" type="text" class="field">
<input id="personNameAlt" name="call[2][email]" value="" type="text" class="field">

<input id="personNameAlt" name="call[3][name]" value="" type="text" class="field">
<input id="personNameAlt" name="call[3][email]" value="" type="text" class="field">
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The old way from Netscape, who is the inventor of Javascript, is still valid:

document.forms[0].elements["call[1][name]"].value

What you need, you just have to wrap your input fields into a form tag.

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