responsetext has html tags removed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • westoneman
    New Member
    • Mar 2010
    • 1

    responsetext has html tags removed

    When i set the contents of mydiv with a html formatted string

    document.getEle mentById("mydiv ").innerHTML=xm lHttp4.response Text;

    it displays the data without the html formatting tags.

    my responsetext contains "<tr><td>xx x</td><tr><tr><td> zzzz</td></tr>"

    the output looks like this "xxxzzzz"

    What is necessary to get this data displayed correctly?
    thanks
    Will
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    what does the source code show?

    Comment

    • larztheloser
      New Member
      • Jan 2010
      • 86

      #3
      I assume you have a table tag somewhere?

      Comment

      Working...