How To Create Disable Text Area

This grays out the textarea altogether and inhibits any change in the text as well as text highlighting.If you want to create disable text area use the code below.
<textarea cols="50" rows="5" disabled="yes">TYPE-YOUR-TEXT-HERE</textarea>
Look at the example below.
<textarea cols="50" rows="5" disabled="yes">Computer operating speed is of concern to almost everyone. In a recent series of tests PC SPY identified several programs that were responsible for the biggest cause of system performance slow downs.</textarea>
Result:


That's it.

0 comments so far:

Post a Comment

 
Royal Tutor © 2011 | Privacy Policy | Powered by Blogger | Back to top