I'd like to call a javascript (with jQuery) function after one has completely ended.
I know there's a way to do it using the $.ajax() function with the 'success:' parameter. Is there a way to do the same thing without using the $.ajax() function ?
For example if I had :
var test = function()
{
alert('Hello !');
}
var test_check = function()
{
alert('Hello has been displayed successfully');
}
Would there be a way to call test(); and then test_check() ONLY after test() has actually been completed ?