Callback without Arguments
If a callback has no arguments, you can pass it in like this:
1
$.get( "myhtmlpage.html", myCallBack );
When $.get() finishes getting the page myhtmlpage.html, it executes the myCallBack() function.
Note: The second parameter here is simply the function name (but not as a string, and without parentheses).
so i was looking at learn.jquery.com and i ran across this feature about callback without arguments.
I was wondering when i would actually use something like this.