Click here to Skip to main content
15,880,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have email function that send 5 person at one time. I call this function in controller called submitemail. I want to put loading when the email function triggered. I want to show message to user that email sending is successful or not. How to do it?
Posted
Comments
David_Wimbley 13-Jan-13 11:39am    
Can you provide some code so we have something to go off of?

Youll need to use jquery or something similar (im assuming jquery) where when you press a button click you call your function and on the beforesend you open a modal window that says processing.

If you provide some code i can throw something together for you maybe.

1 solution

Change your submit call functionality to ajax call. In the ajax call when clicking the button show progess image or something.after success hide the image.hope this helps
 
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