useclass.js
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:0k
源码类别:

Applet

开发平台:

Java

  1. // JavaScript Document
  2. function check(theform)
  3. {
  4.      if(theform.name.value=="")
  5.  {alert("请输入标题!");
  6.  theform.name.focus();
  7.  return false;
  8.  }
  9.      else if(theform.content.value=="")
  10.  {alert("请输入内容!");
  11.  theform.content.focus();
  12.  return false;
  13.  }
  14. }