If have two javaScript functions in a page which are required to be called when document load is complete. Is is possible that any function can executed first or it will be
If you want these functions to be executed in order, why don't you just write:
$(document).ready(function(){ function1(); function2(); });