jQuery-Textarea自动增长插件跨浏览器兼容 [英] jQuery - Textarea auto grow plugin cross-browser compatible
本文介绍了jQuery-Textarea自动增长插件跨浏览器兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个跨浏览器兼容的插件来使textrea在写入或删除内部文本时自动增长和收缩.
I need a cross-browser compatible plugin for textrea to be auto growing and shrinking when the inside text is getting written or deleted.
我尝试了 Elastic 插件和Padolsey
I have tried the Elastic plugin and Padolsey autoresize ones. Both fails in Firefox 3.6.
推荐答案
jQuery 可扩展-
一个jQuery插件,可自动扩展文本区域以适合用户输入的内容
A jQuery plugin that auto-expands textareas to fit the contents as a user types
这是另一个很棒的textarea自动增长插件,使用与@Lashae发布的方法相同的方式编写,但是没有额外的功能,例如动画.
It is another great textarea auto growing plugin written on same line of approach as @Lashae has published, but with few extra features, like animation.
这篇关于jQuery-Textarea自动增长插件跨浏览器兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文