【问题标题】:Expand Textarea Horizontally水平扩展文本区域
【发布时间】:2014-09-29 10:12:29
【问题描述】:

我找到了这个 JQuery 插件:https://github.com/rotundasoftware/jquery.autogrow-textarea

我按照相关指南进行操作,但没有得到任何结果。 我试图在我的document.ready() 中调用它

$( "textarea" ).autogrow( { vertical : true, horizontal : true } );

谁能告诉我如何正确使用它?

【问题讨论】:

  • 你需要先检查你的表单是否完全加载了这个文本区域
  • 好吧,这可能是原因
  • 您的外部资源无法在 FIDDLE 中执行。您可以在控制台中检查错误。
  • 试试这个plugins.jquery.com/autogrow插件
  • 好的。您可以将其写在您的答案中,以便其他人也知道您想要的解决方案。

标签: jquery plugins textarea autogrow


【解决方案1】:

错误在加载中,首先必须加载textarea,然后autorow它

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-25
    • 2019-02-15
    • 2011-12-06
    • 1970-01-01
    • 1970-01-01
    • 2020-11-25
    • 1970-01-01
    相关资源
    最近更新 更多