Friday, April 13, 2018

Print This Page in JavaScript

A very simple script which allows you to print the whole web page via a web browser using JavaScript as your programming language.

I am currently accepting programming work, it project, school programming projects , thesis and capstone projects, IT consulting work and web development work kindly contact me in the following email address for further details. Thank you.

My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.



Program Listing

print.htm

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Print this page</title>
</head>
<body>
<form name="form1" method="post" action="">
  <div align="center">
    <input type="submit" name="Submit" value="Print This Page" onClick="javascript:window.print()">
    </div>
</form>
</body>
</html>




No comments:

Post a Comment