Below script prints the window page by simple javascript function.
See below :
Related Articles
How to Do Debugging in Javascript
Below is the way to do debugging in Javascript to get typeof objForm, forms.elements and form value.
How to Refresh Page OnClick Using Javascript
Click to Add another Staff
PHP Radio Button Example With Mysql DB
Simple PHP Radio button enable and disable textarea textbox example in php using Mysql