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

264
Views
How to gat a GST value from total amount?

I want to display the SGST, CGST and IGST value from total amount and add these values in total amount and show in Grand total field. JavaScript code for find the GST value from total amount.

<table class="table table-stripped table-center table-hover">
  <tbody>
    <tr>
      <td></td>
      <td></td>
      <td></td>
      <td class="text-end">Total</td>
      <td class="text-end" id="total">250</td>
    </tr>
  </tbody>
</table>
<div class="row mt-5">
  <div class="col-md-4 mt-3">
    <div class="form-group">
      <label>SGST @ <input class="GST-input" type="text" placeholder="00">
                %</label>
      <input type="number" class="form-control" disabled>
    </div>
  </div>
  <div class="col-md-4 mt-3">
    <div class="form-group">
      <label>CGST @ <input class="GST-input" type="text" placeholder="00">
                %</label>
      <input type="number" class="form-control" disabled>
    </div>
  </div>
  <div class="col-md-4 mt-3">
    <div class="form-group">
      <label>IGST @ <input class="GST-input" type="text" placeholder="00">
                %</label>
      <input type="number" class="form-control" disabled>
    </div>
  </div>
  <div class="col-md-3">
    <div class="form-group">
      <label>Grand Total</label>
      <input class="form-control" type="text" disabled>
    </div>
  </div>
</div>

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!