Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
column.txt
Package: shop.rar [view]
Upload User: yatiankong
Upload Date: 2014-05-16
Package Size: 5604k
Code Size: 1k
Category:
Applet
Development Platform:
Java
- function formCheck()
- {
- if (document.theform.name.value == "")
- {
- alert("请填性质类别名称!");
- theform.name.focus();
- return false;
- }
- if (document.theform.userName.content== "")
- {
- alert("请填备注信息!");
- theform.userName.focus();
- return false;
- }
- if (document.theform.productName.value =="")
- {
- alert("请填写产品名称!");
- theform.productName.focus();
- return false;
- }
- if (document.theform.introduce.value == "")
- {
- alert("请填写产品说明!");
- theform.introduce.focus();
- return false;
- }
- var str2;
- //获得用户输入库存的值
- str2=document.theform.email.storage;
- {
- for(i = 0; i < str2.length; i++) {
- if(str2.charAt(i) < "0" || str2.charAt(i) > "9")
- return false;
- }
- }
- if (document.theform.minPicture.value.substr(document.formPost.photo_file.value.length - 4, 4).toLowerCase().match("^.jpg|.bmp|.gif$") == null)
- {
- alert("图像类型不是JPG,BMP,GIF类型");
- }
- if (document.theform.maxPicture.value.substr(document.formPost.photo_file.value.length - 4, 4).toLowerCase().match("^.jpg|.bmp|.gif$") == null)
- {
- alert("图像类型不是JPG,BMP,GIF类型");
- }
- }