Click here to Skip to main content
16,018,294 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends
i am getting data from another page through sending parameter by jquery. i wamt to show loading image or message during data is loading from another page. my code is bellow.
JavaScript
$('.anchorclass').click(function(event) {
        event.preventDefault();
        $('#Div2').load($(this).attr("href"));
    });


please help me how to show loading image and message.
Posted

1 solution

JavaScript
$('#Div2').html('Loading').load($(this).attr("href"));
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900