Hello all,
I am trying to export what is displayed on a page to a .
doc file when the user clicks an "Export" button. I am really not sure where to start with this as I am fairly new to javascript. I have been manually copy/pasting the page into a
Word document, and ran into a few problems even with that. My tables display correctly in Word, but I have some text in a row that can either be hidden or visible (display: none, display: block) and is toggled by a link. When I copy the page over to Word, it brings along the hidden text, which I don't want. The page is used to generate reports which may later need to be editted, and the hidden text is just a feature of the webpage to aid the user and not needed for the report. So my question is how do I take only what is VISIBLE on a page (or ideally a particular frame) and export it to another format? Thanks!