var matchWords;
function notifyTextLength() {
var inputNum = 對.get //得到輸入的位元組數
if (inputNum
matchWords = matchWords = 霚 document.getElementById("inputedWord").innerHTML = inputNum + "位元組," + matchWords + "字元";
document.getElementById("inputtingWord").innerHTML = (200 - inputNum) + "字母,"+(Math.r. )+"漢字";
}
if (inputNum > 200) { 木 get T ue = document.getElementById("txtTitle").value.substring(0, matchWords);
//若超過200字節,就截取到200位元組
}
}
目前已經輸入 也可以輸入