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

155
Views
Do Two OnClick Functions one after the other in sequence -PHP

Right Now I have Two Buttons

  1. Setting the value button

    <button style="border-radius: 0px; padding: 10px;" class="btn btn-md btn-block btn_view c_unpaid" onclick="save_set_fee(<?php echo "$save_fee"; ?>)">Save Set Fee</button>

  2. Receiving The Fee button

    <a href="javascript:;" onclick="add_pay_form(<?php echo "$payment_id"; ?>)" class="btn">

So in this function when I click the button 1 the amount I need to receive is been set and its been added to the SQL Data base , Then only the button two takes the that value and I can settle the payment

So simply I need is

A One Button For Both the Sequences

When I click one button , the function of button one will take place...and then the button two will take place

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!