JavaScript json implements the maximum length of textarea control code. Friends who need it can test it. The code is beautifully written. 2009-12-12