交流
讨论:help me!!~~~~
作者 pppp 发布于 2003-07-00 分类:php基础编程
<script language=javascript> var txt; function check(obj) {if(obj.title.value==""||obj.newstext=="") {alert("标题和内容不能为空!");return false; } else {return true;} } function addtext(newcode) { document.addnews.concent.value+=newcode } function b() { txt=prompt("请输入要加粗的文字","Text"); txt=""+txt+""; addtext(txt); }</script>

