Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

can not copy from or edit content in textarea in a hidden div

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 5 回表示
  • 最後の返信者: cor-el

more options

I have a div with class 'hide' ,which set display to none, as a container to wrap a textarea in it.
After toggle hide to show that div, textarea is not editable and can not even copy content from it.
Is this a bug?
Could someone help to answer?
Thanks.

<div class="container hide">
        <div class="inner-container">
            <div class="hd"></div>
            <div class="bd">
                <textarea rows="1" cols="42" class="txtarea">Content</textarea>
            </div>
            <div class="ft"></div>
        </div>
</div>
I have a div with class 'hide' ,which set display to none, as a container to wrap a textarea in it.<br /> After toggle hide to show that div, textarea is not editable and can not even copy content from it.<br /> Is this a bug?<br /> Could someone help to answer?<br /> Thanks. <pre><nowiki><div class="container hide"> <div class="inner-container"> <div class="hd"></div> <div class="bd"> <textarea rows="1" cols="42" class="txtarea">Content</textarea> </div> <div class="ft"></div> </div> </div></nowiki></pre>

この投稿は cor-el により に変更されました

すべての返信 (1)

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.