Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

164
Visualizações
Dynamic Textbox Count total for Invoice

Can anyone please suggest some links so I can perform the total count task? I am dynamically generating the textbox when Admin clicks on the Add New Row.

 <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;
        });

    });

My requirement is by default in InvoiceQuantity I am showing 1 as 1 hour. Now when I enter Invoice Unit in the Line Total automatically counts the value.

100        1             100

And If I change the InvoiceQuantity also wants to show the effect in Line Total

100        3              300   

Search so many links from STACK OVERFLOW but did not get the exact solution link. So, please suggest me.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda