Setting Maxlength with javascript
Setting Maxlength with javascript
注意要用input.maxLength
而不是input.maxlenth
, 只會影響由 createElement('input')
長出來的input.
http://chunghe.googlecode.com/svn/trunk/experiment/maxLength.htm
Setting Maxlength with javascript
注意要用input.maxLength
而不是input.maxlenth
, 只會影響由 createElement('input')
長出來的input.
http://chunghe.googlecode.com/svn/trunk/experiment/maxLength.htm
沒有留言:
張貼留言