maybe this is what you want.

sailor (Sailor)
<script language="javascript">
function changeHints(){
var l=strlength(document.frmAnnounce.subject.value)
if (l<=100) {
if (document.all!=null)
document.all("hints").innerText="还可以输入"+(100-l)+"字节"
}
return true
}
</script>

<td width="60" nowrap >主题:</td>
<td nowrap ><input type="text" name="subject"
maxlength="255" size="40" value="" onKeyDown="return
changeHints()" onKeyUp="return changeHints()"> (<span
id="hints" color="red">还可以输入100字节</span>)</td>
(#230714@0)
2001-10-20 -05:00

回到话题: Sailer, Roller & Jabbour (sorry if I missed anyone), can you do a simple JavaScript, so that I..

回到论坛: HOME枫下论坛枫下论坛主坛站务管理

URL:   
http://www.rolia.net/zh/post.php?f=0&p=230714