Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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.