javascript - Is it possible to take data from one web-page and generate another(webpage to be printed) without any interference of server? -
I am trying to prepare a report from that data to take and print data from HTML because the Internet connection Not very consistent, it is important that in print format only a web browser is generated on the client side.
Generate both screen and print edition from server at the same time. For class-only items for class = "notepant", attach different parts to the DIV with class = "notepant", and do not just print-only stuff for class = "note-onscreen", and both of them There is nothing extra which should be visible on both screen and print. Then use this CSS:
@ Media Screen {.NotOnScreen {Display: None; }} @ Media Print {. NotOnPrint {display: none; }}
Comments
Post a Comment