文字数による制御:
バイト数による制御:
onkeydown="key1=this.value;value1 = key1.replace(/[u4e00-u9fa5]/g,' ');if(value1.length>500) this.value=this .value.substr(0,500) "
onkeyup="key1=this.value;value1 = key1.replace(/[u4e00-u9fa5]/g,' ');if(value1.length>500) this.value =this.value.substr( 0,500)"
onblur="key1=this.value;value1 = key1.replace(/[u4e00-u9fa5]/g,' ');if(value1.length>500) this .value=this.value.substr(0,500)"
onchange="key1=this.value;value1 = key1.replace(/[u4e00-u9fa5]/g,' ');if(value1.length>500 ) this.value=this.value.substr(0,500)">