2 Replies Latest reply: Sep 18, 2014 3:52 PM by James Pike RSS

    Trouble saving HTML from a popup

      I have an extension object that contains a DIV that contains an HTML based report. In the extension object I have a button that when clicked simply opens up a new IE window with the contents of the DIV. That works perfectly.


      From there the problem is that when I try to save the page opened in new IE window it doesn't save properly. When I view the source of the open window I see exactly what I would expect, my report HTML. The save works fine (no errors) but when I open the saved file I see this:


      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <!-- saved from url=(0044)http://qlikview/QvAjaxZfc/OpenUnicornDoc.htm -->
      <HTML><HEAD><META content="IE=5.0000" http-equiv="X-UA-Compatible">

      <META content="text/html; charset=unicode" http-equiv=Content-Type>
      <META name=GENERATOR content="MSHTML 10.00.9200.16866"></HEAD>


      What is OpenUnicornDoc.htm? And why isn't the page I see the page actually saved?