1.

What Is A Callback Function In Jquery?

Answer»

A CALLBACK function is nothing but a function to be PASSED as an argument to another function and it runs after its parent function has EXECUTED.

$.get(''sample.html'', sampleCallBackFunction);

NOTE that here sampleCallBackFunction does not have any ARGUMENTS.

A callback function is nothing but a function to be passed as an argument to another function and it runs after its parent function has executed.

$.get(''sample.html'', sampleCallBackFunction);

Note that here sampleCallBackFunction does not have any arguments.



Discussion

No Comment Found