Dear all,
i want create a login page after giveing username and password check it from database and redirect to welcome page using jqueary ajax with asp.net .
please ma new to this jqueary ajax am not understanding single one also ..i am seaching in google getting lots of examples but am not understading please
please ma new to this jqueary ajax am not understanding single one also ..i am seaching in google getting lots of examples but am not understading please
give me a simple example ..with jqueary ajax with asp.net..

uxmaan ali37 pointsPosted Nov 9, 2015, 12:53 AM EST
var username = $("#txtusername").val(); var password = $("txtpassword").val(); $.ajax({success: function (msg) { if (msg == "true") { window.location.href = 'Index.aspx'; }else{ alert("Username or password is incorrect"); } } });private void LoginUser() { string userName = Request["userName"]; string password = Request["password"]; Login obj = query here... get record password and username where they are same. if (obj != null) { Response.Write("true"); } else { Response.Write("notPresent"); } }