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

156
Views
Recuento total de cuadro de texto dinámico para factura

¿Alguien puede sugerir algunos enlaces para que pueda realizar la tarea de conteo total? Estoy generando dinámicamente el cuadro de texto cuando el administrador hace clic en Agregar nueva fila.

 <tr> <th style="width:70px;">Invoice Item</th> <th style="width:100px;" class="no-sort">Invoice Discription</th> <th style="width:10px;" class="no-sort">Invoice Unit</th> <th style="width:10px;" class="no-sort">InvoiceQuantity</th> <th style="width:20px;" class="no-sort">Line Total</th> </tr> <tr> <td class="width-200 text-wrap ParentPart"><input type="text" name="InvoiceItem[]" id="InvoiceItem[]" /></td> <td class="width-200 text-wrap"><input type="text" name="InvoiceDiscription[]" id="InvoiceDiscription[]" /></td> <td class="text-wrap"><input type="text" name="InvoiceUnit[]" id="InvoiceUnit[]" /></td> <td class="width-200 text-wrap"><input type="text" name="InvoiceQuantity[]" id="InvoiceQuantity[]" value="1" /></td> <td class="text-wrap editable text chkQty QtyPer"><input type="text" name="InvoiceTotal[]" id="InvoiceTotal[]" /></td> <td class="addQty" style="display:none">1</td> </tr>
 $(document).ready(function () { $("#add").click(function () { $('#dtExample tbody>tr:last').clone().insertAfter('#dtExample tbody>tr:last'); return false; }); });

Mi requisito es por defecto en InvoiceQuantity . Estoy mostrando 1 como 1 hora. Ahora, cuando ingreso la Unidad de factura en el Total de línea, automáticamente cuenta el valor.

 100 1 100

Y si cambio InvoiceQuantity también quiere mostrar el efecto en Line Total

 100 3 300

Busque tantos enlaces de STACK OVERFLOW pero no obtuvo el enlace de solución exacto. Entonces, por favor sugiérame.

about 4 years ago · Juan Pablo Isaza
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!