Quantcast
Channel: Sam's Activities
Viewing all articles
Browse latest Browse all 3363

How to call a function after another function completed

$
0
0

Good day,

In Javascript, how to call 2 functions but in turn. the 2nd function must be executed after 1st function completed.

So I have a function to insert a new record, then 2nd function is to retrieve the record. Guess by just calling it in 2 lines not working 

Regards,


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>