When I click, I need to call 3 functions in a specific order:
<CButton
@click=" getBillPrice();
updateBill();
postData();"
type="submit"
color="primary">Save</CButton>
However, the functions are running in the wrong order. How can I fix this?
Here is an example of my functions for context:
getBillPrice() {
// Function code here
},
updateBill() {
// Function code here
},
postData() {
// Function code here
}
This is just filler text to demonstrate posting code: Lorem ipsum dolor sit amet.