Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

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

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 5 wyświetleń
  • Ostatnia odpowiedź od 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>

Zmodyfikowany przez cor-el w dniu

Wszystkie odpowiedzi (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.