×

Loading...

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 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Sailer, Roller & Jabbour (sorry if I missed anyone), can you do a simple JavaScript, so that I..

Back To Forum: HOME枫下论坛枫下论坛主坛站务管理