Thursday, 24 April 2014

jQuery Callback without Arguments

jQuery Callback without Arguments
$.get( "welcome.html", myCallBack );
jQuery Callback with Arguments
$.get( "welcome.html", function() {
myCallBack( param1, param2 );
});