Hi, I am trying to check if the username exists or not . I am using XMLHTTPREqUEST object in the html page and sending user name and password values Default aspx page.But when I exacute the code .Nothing happens. after debugging I have noticed that connection
state open but datareader.hasRows property returns false.What am i missing out Can you plase help
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="Scripts/jquery-2.1.1.js"></script>
<script type="text/javascript">
function createXHR() {
var xhr;
try {
xhr = new XMLHttpRequest();
} catch (e) {
}
return xhr;
}
function signIn() {
var xhr = createXHR();
var username=$('#txtusern ...
Go to the complete details ...