I am using the ASP.net ASP:Login, and i want to call a javascript function if login fails.
How can I accomplish this?
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.
You can have a javascript function all ready on page, or you can add them later when the login fail. So first capture the login fail…
on your login module you add the event
on code behind ether you open the javascript, ether you register a new one.
Let say that you have a javasscript like this one for the first case.