The callback function is executed after the current effect is completely finished.
In this example, we are going to use a callback function on the click of a button. The button click will initiate the load() method and then alert box message will appear on the screen after that 'lorium ipsum' web page will be shown on the screen