Initial revision

This commit is contained in:
Olivier Müller
2001-05-03 17:25:09 +00:00
commit 7ff8fedebd
64 changed files with 7808 additions and 0 deletions

26
functions.js Executable file
View File

@@ -0,0 +1,26 @@
<!--
var isFormElementInRange;
function checkFormElementInRange (form, name, min, max ) {
isFormElementInRange = true;
var val = parseInt( eval( "form." + name + ".value" ));
if(isNaN(val)) {
isFormElementInRange = false;
return false;
}
if (val < min || val > max ) {
alert( val +" is not a valid row number!" );
isFormElementInRange = false;
eval( "form."+ name + ".focus()");
eval( "form."+ name + ".select()");
}else {
eval( "form."+ name + ".value = val" );
}
return true;
}
//-->