2004-03-25
Linkage of the Day
Warlords of Fruitcake --
p_o_u_n_c_e_r ponders the meaning of certain military peacemaking actions, and care packages.
Ocean on Mars! Free shrimp!
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
Ocean on Mars! Free shrimp!
Copied JS validation function
http://www.scriptygoddess.com/archives/003348.php
Remember. Good programmers are lazy. They do not want to do stuff themselves by hand unless absolutely necessary. So. Heh. Will tweak later.
function validate() {
//check a field to make sure it has something filled in
if(document.formName.textFieldName.value == '') {
alert('Please fill out textFieldName.');
document.formName.textFieldName.focus();
return false;
}
Remember. Good programmers are lazy. They do not want to do stuff themselves by hand unless absolutely necessary. So. Heh. Will tweak later.