Edit HTML code in a Form

Results 1 to 2 of 2

Thread: Edit HTML code in a Form

  1. #1
    Possum Fur Guest

    Default Edit HTML code in a Form

    I want to edit HTML code (in a TEXTAREA box in a Form), then save to a database, to be retrieved as part of another ASP page later (product information catalog).<BR><BR>Everything is fine if the field stays in a string var, however obvious problems when trying to inculde that string in a form - the HTML code is actually picked-up as part of the page itself.<BR><BR>If I use server.HTMLEncode(string) on the string it converts all the HTML tags to &xxx so it will display okay in the TEXTAREA, is there a reverse to &#039;re-encode&#039; it as HTML? (without writing it myself)<BR>

  2. #2
    POssum Fur Guest

    Default RE: Edit HTML code in a Form

    Oh dummy me - and I call myself a programmer?!<BR>Of course it was all those &#039;"&#039;! ... replace(string, ,"""","""""") - problem solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts