Hello Everyone,
I am creating a simple login page with form submit action. But I want to display loading image when clicked on the Login button.
I did it in other pages inside Ajax Javascript functions. But this login page is based on form submit action. So there is a javascript function where I can write this code.
Please find the code below :
@using (Html.BeginForm("Login", "Account", FormMethod.Post, new { @id = "LoginForm", returnurl = ViewBag.returnurl }))
{
person
lock
}
Thanks in advance

Salman BegRank #284 · 8.8K reputationPosted Mar 15, 2019, 2:51 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Mar 15, 2019, 3:29 AM EDT
Vivek KumarRank #272 · 9.3K reputationPosted Mar 15, 2019, 12:55 PM EDT