want to show "Loading" text using javascript?
<p>I am using <code>SmtpClient</code>'s <code>Send</code> method in ASP.NET to send email from a contact-us page. While the message is being sent, I want to show a loading image. More specifically, when a user presses the send button to send the email, the loading image will appear, and once the message is sent, the loading image will disappear. I know I can use <code>onclick</code> method to display the loading image. But how can I remove this image once the message is sent? </p>
