Configuration Guide Configuring Web Authentication
script.src=”errormessage”+location.search;
_errormsg.appendChild(script);
}
function init() {
……
requestErrorMsg();
}
//Script that is executed when a user clicks the Login button
function login() {
document.getElementById('loginForm').action = "./login.htm"+location.search;
document.getElementById('loginForm').submit();
window.onbeforeunload = null;
window.onunload = null;
}
……
</script>
<body onload="init()">
<form method="post" id=”loginForm”>
User name:<br>
<input type="text" name="username" accesskey="u" size="25" value="" id="usrename">
<br>
Password:<br>
<input type="password" name="password" accesskey="p" size="25"
value="" id="password">
<br>
<input type="button" onclick=”login()” value="Login" id=”loginButton”>
<input type="hidden" name="lang" value="" id="lan">
<p name=”errormsg” id="errormsg"></p>
</form>