home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / HTML / AceHTML / AceHTML4Free.exe / %MAINDIR% / EScripts / jscript / pswd.scr < prev    next >
Encoding:
Text File  |  2001-09-06  |  294 b   |  9 lines

  1. <SCRIPT LANGUAGE="JavaScript">
  2. <!-- begin script
  3. function checkPswd(ext) {
  4.   if ((document.pswdForm.pswd.value == null) || (document.pswdForm.pswd.value == ''))
  5.     alert('Invalid password.');
  6.   else this.location.href = document.pswdForm.pswd.value + ext;
  7. }
  8. // end script -->
  9. </SCRIPT>