I would like everytime I call a jquery load function:
$("#div").load("file.php");
To then call a separate function:
function secondFunction() {
    //do stuff
}
I would like everytime I call a jquery load function:
$("#div").load("file.php");
To then call a separate function:
function secondFunction() {
    //do stuff
}
 
    
     
    
    Pass it as the callback:
$("#div").load("file.php", secondFunction);
 
    
    if i have understood clearly you can call the second function as the call back each time load is called
$("#div").load("file.php",secondFunction);
