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?
I have email function that send 5 person at one time. I call this
Share
Call your controller’s action with ajax…show a loading image before ajax call…and hide the loading image in oncomplete event of ajax function…and also show appropriate success and error message.