I have this ajax call:
$('.ajaxtrigger2').click(function(){
$('#target').load('xxx.html');
...
how to append a Loading msg or image during this simple call? thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create another element, e.g.
then show the loading element when you start loading, and hide it when its done through the
loadcallback.