修改评论的方法
发布时间:2021-11-28 18:00:42 所属栏目:PHP教程 来源:互联网
导读:script function CheckPl(obj) { if(obj.saytext.value==) { alert(您没什么话要说吗?); obj.saytext.focus(); return false; } return true; } /script div class=commentsList table width=95% border=0 align=center cellpadding=3 cellspacing=0 form ac
<script> function CheckPl(obj) { if(obj.saytext.value=="") { alert("您没什么话要说吗?"); obj.saytext.focus(); return false; } return true; } </script> <div class="commentsList"> <table width="95%" border="0" align="center" cellpadding="3" cellspacing="0"> <form action="[!--news.url--]e/enews/index.php" method="post" name="saypl" id="saypl" onSubmit="return CheckPl(document.saypl)"> <tr> <td>用户名:<input name="username" type="text" class="inputText1" id="username" value="" size="20" /></td> <td style="display:none;"><input name="nomember" type="checkbox" id="nomember" value="1" checked="checked" /></td> </tr> <tr> <td> <textarea name="saytext" cols="80" rows="3" id="saytext" class="inputText2"></textarea></td> </tr> <tr> <td> <script src="[!--news.url--]d/js/js/plface.js"></script></td> </tr> <tr> <td> <input name="imageField" type="image" src="/e/data/images/postpl.gif" border="0" /> <input name="id" type="hidden" id="id" value="[!--id--]" /> <input name="classid" type="hidden" id="classid" value="[!--classid--]" /> <input name="enews" type="hidden" id="enews" value="AddPl" /> <input name="repid" type="hidden" id="repid" value="0" /> <input type="hidden" name="ecmsfrom" value="[!--titleurl--]"></td> </tr> </form> </table> </div> ![]() (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |