Right Now I have Two Buttons
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>
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