Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

261
Views
¿Cómo obtener el valor del atributo que js estableció?

Tengo una página JSP con una <tabla> y una de las filas se define así:

 <td list-action class="actionColumn d-flex justify-content-end"> ID: ${appId} </td>

Desde javascript estoy configurando un atributo para esta fila:

 row.find('[list-action]').attr("appId", template.id);

Cuando miro con el modo de inspección, puedo ver que appId está configurado en <td, pero no se muestran los valores.

ingrese la descripción de la imagen aquí

¿Sabes cómo mostrar ese valor?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

 row.find('[list-action]').setAttribute("appId", template.id); ?

https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!