Article:
  Using JavaScript to Create a Powerful GUI
Subject:   Text not being formatted correctly
Date:   2002-02-14 06:12:30
From:   cambam
For some reason, instead of making the text bold when I execute the function, instead the text box displays the string "This is a test" Can someone give me any idea as to what may be the problem here and a potential solution?
Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Ugh. Let me get this right...
    2002-02-14 06:18:46  cambam [View]

    <b>This is a test</b> is what is displayed.
    • Ugh. Let me get this right...
      2002-09-27 13:13:25  anonymous2 [View]

      213213123213213
  • Text not being formatted correctly
    2002-02-14 06:16:28  cambam [View]

    Oops. That text was not meant to be bolded. The text box displays "<This is a test>"
    • Text not being formatted correctly
      2005-04-08 02:45:00  RutgerB [View]

      Use :
      sel.pasteHTML(''+str+'');
      instead