I have function like in some of sub pages,
function fuct(){
....
somecode inside
}
What I want to do is execute another function called function anotherfunction after successful execution of function funct which is in main html page. And I dont want to call anotherfunction in body of fuct.
Can I do something like,
on.succss of funct call anotherfunction
a(); b();. If your first function has asynchronous operations in it, then you will have to be more specific about what it has in it. Far too little information disclosed here to do anything more than make wild guesses.