ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
ASKER
if (!theForm.regNo.value == "" && theForm.regNo.value.length
{
alert("Please enter your valid Registration Number.");
theForm.regNo.focus();
return (false);
}
Points for you. Thanks!
PS: Do you have any simple email validation script that checks for '@' and '.' in their email field?