开发者

Charactor Length Javascript

开发者 https://www.devze.com 2023-02-06 22:17 出处:网络
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:

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

精彩评论

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