When I was asked what a callback function was, I immediately thought of jQuery; as we so often pass a function as a parameter to a jQuery method. Most of the time, a passed in function will execute after the initial method’s code is complete. jQuery’s onClick Function; a Callback method. Examine the sample below […]
What is a Javascript Callback Function?
