function submitonce(theform){
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true}
}
}
function CheckAll()
{
//检查非空
if (!CheckEmpty(form.title, "文章标题")) return false;
if (!CheckEmpty(form.content, "文章内容")) return false;
//全部通过
submitonce(form)
return true;
}
function DoTitle(addTitle) {
var revisedTitle;
var currentTitle = document.form.title.value;
revisedTitle = currentTitle+addTitle;
document.form.title.value=revisedTitle;
document.form.title.focus();
return; }
-->
发表文章
文章标题:
选择话题
[原创]
[转帖]
[灌水]
[讨论]
[求助]
[推荐]
[公告]
[注意]
[贴图]
[建议]
[下载]
[分享]
文章栏目:
dim rs,sql,sel
set rs=server.createobject("adodb.recordset")
sql="select * from type"
rs.open sql,conn,1,1
do while not rs.eof
sel="selected"
response.write ""+rs("type")+""+chr(13)+chr(10)
rs.movenext
loop
rs.close
%>
文章内容: