As a web designer, a CODER, is you tired of the form verification problem in the web design? Don't bother to copy if (x) {Alert ('WRONG');}, or use an unhappy and my intention Ide? Ok, let me tell you a comparison of Lazy's writing, you may not verify the form of the form ... Principle: Form verification is nothing more than to collect each message, that is, write one The JavaScript function named frmvalid, executing the following: ... if (to verify the entry is not in line with the condition) {Alert ('error!'); To be verified entry .focus (); return false;} ... // All right return true; of course,