开发者

Charactor Length Javascript

How to control an elemen开发者_Go百科t's character length from another element using javascript. It should not allow to insert a char in middle of character?


You can use the maxlength attribute:

You can also extend this using JavaScript

http://www.mediacollege.com/internet/javascript/form/limit-characters.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜