Friday, October 29, 2010

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.

No comments:

Post a Comment