代码如下://文本框剩余字数提示(字符大小) function textLimitCheckSj(thisArea, maxLength, SpanId) { var str = thisArea.value; if (getChrLen(str, maxLength) > maxLength * 2) { thisArea.value = str.substring(0, x-1); } else { var varss = ‘(剩余字数:’ + Math.floor((maxLength * 2 – getChrLen(str