locked
urgent issue of textarea

    Question

  • i am trying to use textarea but unfortunately it is automatically picking the whole html source.

    why it is displaying my html source in textarea.

    how to multiline a textbox if not with textarea.
    • Edited by chromeFor Wednesday, June 19, 2013 1:51 PM
    Wednesday, June 19, 2013 1:48 PM

Answers

  • Hello Chrome for.

    put some text within the elements.

    try with this.

    <textarea style=" id="txtComments">
     Using this object incorrectly can compromise the security of your 
    application. When submitting text through textArea over an intranet or the Internet, validating the text string is recommended.
    </textarea>

    For detail, see Here.

    You can also use a space , it 'll work in that case too.


    Vote As Helpful, Propose As Answer, or Mark As Answer
    Microsoft Certified Solutions Developer
    My Samples


    • Edited by Mehmood Ahmed Wednesday, June 19, 2013 8:15 PM more detail
    • Marked as answer by chromeFor Friday, June 21, 2013 7:02 AM
    Wednesday, June 19, 2013 2:08 PM