Menu
i cant get this validation code to work.. can someone please help me fix it
function validateInput()
{
if ((document.user_prefs.user_name.value == “”)||(document.user_prefs.password.value == “”))
window.alert(“Name and password are required”);
else {
checkLogin();
}//end if
}//end validateInput