站长交易(http://jy.chinaz.com)帮站长赚钱 虚拟主机评测+IDC导航=IDC123.COM sdcms在线提交的程序回复 http://bbs.sdcms.cn/dispbbs.asp?boardid=2&Id=1557 帖子。感谢大家的支持!代码如下     function   isfull()     {         var   title   =   document.myform.title.value;         var   content   =   document.myform.content.value;      var   classid   =   document.myform.classid.value;    var   author   =   document.myform.author.value;   var   code   =   document.myform.code.value;      if(title   ==   "")         {             alert("标题呢?");             document.myform.title.focus();             return   false;         }              if(content   ==   "")         {             alert("多少写点内容吧");             document.myform.content.focus();             return   false;         }            if(classid   ==   "")         {             alert("选分类哦...");             document.myform.classid.focus();       return   false;       }                if(author   ==   "")         {             alert("留下您的大名吧");             document.myform.author.focus();       return   false;       }                   if(code   ==   "")         {             alert("唉,不要忘记带验证马来");             document.myform.code.focus();       return   false;       }             if(classid   ==   "")         {             alert("选分类哦...");             document.myform.classid.focus();         }         return   true;     }     在线提交笑话[table]  [tr]           [table]        [tr]           [td]回首页[table]                     [tr]                                             [table]                      [tr]                         标题[/td]                                                                            * 30个字为宜^-^[/td]                      [/tr]                      [tr]                         内容 [/td]                        [td]                         [/td]                      [/tr]       [tr]                         类别[/td]                        [td]                                                                             请选择类别                                 ">                                                      * 分类自动对应序号[/td]                      [/tr]                    [/table]                    [table]                                                            [tr]                         作者[/td]                                                - 您的笔名或者网址都可以[/td]                      [/tr]                                        [tr]                         验证码[/td]                        [td]    [/td]                      [/tr]                    [tr]                          [/td]                        [/td]                      [/tr]                    [/table]           [/td]                [/tr]                  [/table]          [/td]           [/tr]      [/table][/td]  [/tr][/table] UCase(Request.Form("code")) Then    response.write "window.alert('验证马呢?吃草去了?本站规定,没有马是不得提交滴...');"    response.write "location.href='add.asp'"    Response.EndElsedim title,content,author,classidtitle=Trim(request.Form("title"))content=Trim(request.Form("content"))author=Trim(request.Form("author"))classid=Trim(request.Form("classid"))set rs=server.createobject("adodb.recordset")sql="select * from sd_info"rs.open sql,conn,1,3  rs.addnew  call SaveData_dlinfo()  rs.update  rs.close  set rs=nothingcall CloseConn()response.write"alert('OK!感谢您的关注!审核后即可显示!')"response.Redirect "add.asp"end ifsub savedata_dlinfors("title")=titlers("content")=contentrs("author")=authorrs("classid")=classidrs("adddate")=nowend subend if%> 相应的字段,大家自己修改就可以了。呵呵,很easy的 [b][/b]