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

163
Views
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
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!