|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
client-side javascript code doesnt run |
From: |
michael shao |
Date: |
3/8/1999 3:48:01 PM |
IP: |
160.254.115.80 |
"I have following Javascript for client-side data validation of LoginName and Password:
<SCRIPT language="JavaScript">
<!--
function VerifyData()
{
if (document.frmUser.Password.value =="")
{
alert ("Please complete all entries.");
return false;
}
else
return true;
}
-->
</SCRIPT>
<FORM ACTION="AddUser.asp" NAME="frmUser" METHOD="POST" onSubmit="return VerifyData()">
But when I click the submit button, the validation code does not seem to work.
Any help will be appreciated."
|
Follow Up - Re: client-side javascript code doesnt run - Harlan 3/8/1999 4:35:22 PM
|
|
|
|
|
|
|
|
|
|
|
|