A:

B:

o 在 textarea 的 onkeyup 中检查字数之方法:

c:

o 设定好自动去检查所有的 textarea 之方法:

D:
在textarea 上定义一个 maxlength 属性: