JavaScript:\[code\]<script>$('#alink').click(function () { $("#loading").ajaxStart(function(){ $(this).show(); }).ajaxStop(function(){ $(this).hide(); });$('#aresult').load('content2.html', function() { $('#successdata').html('100% loaded');}); }); </script>\[/code\]HTML:\[code\]<a href="http://stackoverflow.com/questions/13790321/#" id="alink">click me</a><div id="aresult"></div>\[/code\]What is the error of this code ?I want to load ajax call page when user click on the mouse with loading image