首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > MaxLength属性实现文本区域

MaxLength属性实现文本区域

  • 资源大小:875.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 实现 属性

资 源 简 介

jMaxLength jQuery Plugin This plugin allows a user to limit the number of characters in a form element. It Applies best for textarea elements as input text already have a maxlength attribute implemented. Unlike most plugins, * at the limit, when a user enters a new character, the text stays unchanged instead of being trimmed from the end. * at the limit, commands to copy, cut, or delete are allowed. Paste is allowed if the text stays within the maximum number of characters. **Usage**: * Add the attribute maxLength="xx" to your element (textarea) * Call the plugin $(selector).jMaxLength(); **Upcoming changes**: * Character Counter * Options (error class, error message, counter message)

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP