Home  >  Article  >  Web Front-end  >  Liberating input validation for web programmers_form effects

Liberating input validation for web programmers_form effects

WBOY
WBOYOriginal
2016-05-16 19:25:301112browse
This program was originally modified based on the checkForm of wanghr100 (grey bean baby.net) , and added many functions, as follows:
  • Support for non-ie
  • Added built-in expressions and built-in prompts
  • Added display methods (pop-up and page display)
  • Added Show One and Show All
  • Encapsulated (CLASS_CHECK)
  • Support external functions or expressions (applied to consistent passwords)
  • Simplified the calling method, all operations only require , and then add the above 3 attributes to each tag (not necessarily All required), please note that the default encoding of this js is gb2312. If your .net program is utf-8, you can save the js as utf-8 format, or the encoding in the webconfig is gb2312
Demo:
Download:
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:[Skin-changing program] A relatively useful script program_javascript skillsNext article:[Skin-changing program] A relatively useful script program_javascript skills

Related articles

See more