//文字方塊剩餘字數提示(字大小)
function textLimitCheckSj(thisArea, maxLength, SpanId) {
var str = thisArea.value;
if (getChrLen(str ue = str.substring( 0, x-1);
}
else {
var varss = '(剩餘字數:' Math.floor((maxLength) * 2 - getC 9en(剩餘字數:Lenfloor((maxLength) * 2 - getC 下) ;
document.getElementById(SpanId).innerHTML = varss;
}
}
function getChrLen(str.Sstr. , charCode = -1;
x = 0;
for (; (x (charCode >= 0 && charCode realLength = 1;
> }
return realLength;
}
?
span id="spOwner_Name"