function validate_form1()
{
valid = true;
if ( document.frm.username.value == "" ) {
alert( "User Name Should Not be Empty." );
document.frm.username.focus();
valid = false;
return valid;
}
if ( document.frm.password.value == "" ) {
alert( "Password Should Not be Empty." );
document.frm.password.focus();
valid = false;
return valid;
}
return valid;
}
[ add comment ] ( 2 views ) | permalink |




( 3 / 21 )
Calendar



