An useful example of creating a simple JavaScript function to print the content of a selected DIV on a page ...