I am using the latest version of jQuery
i want to display ajax-load/progress image while jquery doing the request and after request complete i want to hide that.
So i may hide that on .success event, but on which event i may display that?
$.ajax({ url: "example.php" })
//where to display progress?
.success(function() { //hide progress })
.error(function() { //hide progress })
.complete(function() { //hide progress });