• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • FREE webinar: What does a post IR35 reform CV look like? : Wed, Jul 28, 2021 7:15 PM - 8:15 PM BST More details here.

Print Selected Area in Browser

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Print Selected Area in Browser

    On a HTML page, want to have some lines of text, want to select a subset of those lines, hit a button on the same page, this then pops up another window with only the selected text, which can then be printed in the normal way.

    #2
    um... is this a question or a tip?

    Comment


      #3
      It's a question.

      The thing is I want to add some extra text as a header and footer to the selected text before it is printed out.

      Comment


        #4
        re

        javascript?

        Comment


          #5
          click on button sends ID of the text that will be rendered into new window = then printed, or, if you want to get dirty, you render that text into javascript data structure which would pop window and do the job - might not be good idea with lots of data.

          Comment

          Working...
          X