输入页面代码addit.html

      技术文章 2005-6-4 21:50
<script laguage="javascript">
<!--
function form1_onsubmit()
{
if (document.form1.title.value=="")
{
alert("请输入文章标题")
document.form1.title.focus()
return false
}
else if(document.form1.content.value=="")
{
alert("请输入文章内容")
document.form1.content.focus()
return false
}
}
-->
</script>


<form action="addit.asp" method="post" name="form1" onsubmit="return form1_onsubmit()">
Title:<input type="text" name="title"><br>
Author:<input type="text" name="author"><br>
Content:<br>
<textarea name="content" rows="8" cols="30"></textarea><br>
<input type="submit" value="Add">
<input type="reset" value="Reset">
</form>
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}