Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 1 réponse
  • 1 a ce problème
  • 5 vues
  • Dernière réponse par 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>

Modifié le par cor-el

Toutes les réponses (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.