Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i wanted to login students details
XML
<div class="log1"><input class="sevika-log-1" type="text" id="user_name" runat="server"></input></div>
<div class="log1"><input class="sevika-log-1" type="password" id="pass_word" runat="server"></input></div>
<div class="text1"><span class="span">NEED</span> HELP ? <span class="span">OR</span> FORGOT PASSWORD</div>
<div class="signin" runat="server"  style="cursor:pointer;"  >
    L<asp:Button ID="Button1" runat="server" onclick="Button1_Click1" OnClientClick="login_result();"
        Text="Button" />
    ogin</div>
</div>
</div>
</div>




when my username and password vl correct the particular student page will open otherwise it willl show invalide user name and password...any examples..
Posted

Use an Jquery Ajax Call to the WebMethod which contains the code for Login Validation Logic.

Refer

how-to-create-simple-login-form-using-jquery[^]
 
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