Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Location
    US
    Posts
    314

    Arrow Unanswered: Unescaping Characters (URGENT and IMP)

    Hi
    I have an urgent and pressing need to solve this.

    I am reading the DB, a string which is basically an HTML page, and contains single and double quotes.

    sc_html is the JSP variable name.

    Now I have a javascript function being created through the JSP, and I want to assign document.forms[0].sc_html.value = "<%=sc_html%>";

    But due to the fact that sc_html contains both single and double, I am getting javascript stuff.

    It is very pressing. Solution would be appreciated.

    Thanx and Regards
    Aruneesh

  2. #2
    Join Date
    Jul 2003
    Location
    US
    Posts
    314

    Solved

    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
  •