<textarea> readonly

Hi ,
I would like to use this ,but it does not work .

CODE

The cat was playing in the garden. Suddenly a dog showed up… And you get killed by the horse .

The readonly from this one
http://www.w3schools.com/tags/html5_textarea.asp

does not work -> I tested and false command does not working in mode
CODE
readonly=“false”

Can anyone explain why is that ?

I want to create a post for typing .And that post will have a buttons ,like edit and complete edit .

Thank you for your effort of reading .

Well besides the fact that you have ROWS declared twice in your textarea, I am not sure why it doesn’t work for me.

I have

<textarea rows="2" cols="80" rows="40" readonly="false" >
The cat was playing in the garden. Suddenly a dog showed up..... And you get killed by the horse .
</textarea>

and it performs EXACTLY as you would expect (even with the ROWS in there twice).

I have tried it in Internet Explorer AND FireFox.

Although a proper way would be more like

<html> 
  <body> 
   </p> 
    <textarea rows="10" cols="30"> 
        The cat was playing in the garden. 
    </textarea> 
  </body> 
</html> 

It’s either your browser, or some other typo (not shown here)

Sponsor our Newsletter | Privacy Policy | Terms of Service