Etsi tuesta

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.

Lue lisää

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

  • 1 vastaus
  • 1 henkilöllä on sama ongelma
  • 5 näyttöä
  • Viimeisin kirjoittaja 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>

Muokattu , muokkaaja cor-el

Kaikki vastaukset (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.