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

211
Views
¿Cómo deshabilitar un botón de eliminar después de haberlo presionado?

Tengo una pequeña tabla que tiene el siguiente código para el botón Eliminar. Cuando hago clic en el botón Eliminar, todos los botones Eliminar en la fila están deshabilitados. Solo quiero que se deshabilite un botón correspondiente al valor apropiado en la tabla. El resto de los botones deben permanecer habilitados.

 <c:when test="${(****) == 1 && ****}"> <display:column title="Delete" class="cell-text-centered"> <i class="btn-link glyphicon glyphicon-trash" onclick="fn_delete('<%=urlDelete%>')"></i> </display:column> </c:when> <c:otherwise> <display:column title="Delete" style="width:5%" class="cell-text-centered"> <i class="glyphicon glyphicon-trash"></i> </display:column> </c:otherwise> </c:choose> <script> function fn_delete(url) { var deleteAnswer = confirm("Do you want to delete corresponding data?"); if (deleteAnswer == true) { document.Form.action = url; document.Form.submit(); } } </script>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Cuando hace clic en el botón, puede obtener un evento e disponible dentro del alcance de la función. Vea si puede usar la fuente de un evento y agregar un atributo llamado deshabilitado a su elemento de botón html

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!