initial commit
This commit is contained in:
12
production/site/javascript/default.js
Executable file
12
production/site/javascript/default.js
Executable file
@@ -0,0 +1,12 @@
|
||||
// JavaScript Document for Jairus Society : english
|
||||
|
||||
function CheckGuestbookFields()
|
||||
{
|
||||
if((document.getElementById( "name" ).value == "")
|
||||
|| (document.getElementById( "message" ).value == ""))
|
||||
{
|
||||
alert( "Please enter both a name AND message!!" );
|
||||
return false;
|
||||
}
|
||||
else { return true; }
|
||||
}
|
||||
Reference in New Issue
Block a user