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

257
Vistas
I want to get the value of checkbox using jQuery

In a table there are multiple rows, what I want is if I click on a particular name of user like "Sam" and "Adem" I want to get the value of checkbox which only relates to that row.

<thead>
  <tr>
    <td>Select</td>
    <td>Name</td>
    <td>Username</td>
    <td>Rank</td>
    <td>Address</td>
  </tr>
</thead>
<tbody>
  <tr>
    <td><input type="checkbox" name="" id="" value="1"></td>
    <td>Sam</td>
    <td>Sam001</td>
    <td>Admin</td>
    <td>XYZ</td>
  </tr>
  <tr>
    <td><input type="checkbox" name="" id="" value="2"></td>
    <td>Adem</td>
    <td>Adem002</td>
    <td>Manager</td>
    <td>ZYZ</td>
  </tr>
  <tr></tr>
  <tr></tr>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Attach click event on TD elements. In the handler find the checkbox using .parent() and .find() methods. When you have found the checkbox, get its value using .val() method.

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