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
form.js
Package: BBS_system_on_java.rar [view]
Upload User: toby834
Upload Date: 2013-10-21
Package Size: 2613k
Code Size: 1k
Category:
Jsp/Servlet
Development Platform:
Java
- <script language="javascript">
- ie = (document.all)? true:false
- if (ie){
- function ctlent(eventobject){if(event.ctrlKey && window.event.keyCode==13){this.document.frmAnnounce.submit();}}
- }
- function DoTitle(addTitle) {
- var revisedTitle;
- var currentTitle = document.frmAnnounce.subject.value;
- revisedTitle = currentTitle+addTitle;
- document.frmAnnounce.subject.value=revisedTitle;
- document.frmAnnounce.subject.focus();
- return; }
- function isempty(str)
- {
- var temp="";
- var ll=str.length;
- var index=true;
- for(var i=0;i<ll;i++)
- {
- temp=str.substring(i,i+1);
- if (temp!=" ")
- index=false
- }
- return index;
- }
- function check(frmAnnounce){
- if (isempty(frmAnnounce.userName.value)){
- alert("您没有填写用户名。");
- frmAnnounce.userName.focus();
- return false;
- }
- if (isempty(frmAnnounce.userPassword.value)){
- alert("您没有填写密码。");
- frmAnnounce.userPassword.focus();
- return false;
- }
- if (isempty(frmAnnounce.subject.value)){
- alert("您没有填写帖子主题。");
- frmAnnounce.subject.focus();
- return false;
- }
- return true;
- }
- </script>