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

117
Vistas
getting values of input fields within a div in php

I have an add button that when a user clicks on a div with two input fields (Name and About) will appear. The user can have a total of 3 divs and each div has a unique id (person_1, person_2, person_3). When i am saving this data i am saving as a key value pair so for example:

my key would be person_1 and values would be name: john smith, about: all about john smith...

key column = person_1 and value column = [{"name":"john smith", "about":"all about john smith..."}]

How can i target to get the input fields for each person (up to three) do i get the values based on div id?

Also i noticed a lot of javascript to handle this and i was wondering if there is a way to do it with php?

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