June 19, 2008

Check if textbox has any characters in it.

if (document.formname.fieldname.value.length == 0) {
alert("Please fill out your name.\n");
return false;
}

Subscribe to

Add to Google
Add to My Yahoo!
Subscribe Via Web Feed
kick it on DotNetKicks.com