<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xhr example check login field form</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="index.css" rel="stylesheet" type="text/css" title="style">
<script src="xhr.js" type="text/javascript"></script>
</head>
<body>
<form name="formulaire" action="">
<input type="text" name="login" value="">
<a href="#" onClick="xhr_call( 'check_login', document.formulaire.login.value, 'msg' );return false;">Vérifier</a>
<div id="msg"></div>
</form>
</body>
</html>