•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 363,426 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,190 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 640 | Replies: 0
![]() |
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Is there a way to modify this script to print current window & a seperate web file? The code below only prints the entire page. But, I need the function to include the entire page after the form data is submitted, plus an additional "terms and conditions" page which is a different web file. Page Link - http://www.pmcsonline.com/rx-apha.aspx
JavaScript Syntax (Toggle Plain Text)
<script language="JavaScript" type="text/javascript"> <!-- function printPage() { if (window.print) window.print() else alert("Sorry, your browser doesn't support this feature."); } // --> </script>
Last edited by peter_budo : Apr 26th, 2008 at 2:26 pm. Reason: Keep It Organized - please use [code] tags
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Starting Python (Python)
- HJT Log file (Viruses, Spyware and other Nasties)
- new window in Internet Explorer is always blank (Web Browsers)
- Aurora, DrPmon, MHTMLRedir problems (Viruses, Spyware and other Nasties)
- HJT log (Viruses, Spyware and other Nasties)
- Printing using Web Control Print button VB.NET (JavaScript / DHTML / AJAX)
- Rundll Error (Viruses, Spyware and other Nasties)
- cannot get rid of Backdoor.colfusion (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: customising groupwise login (via iframes?)
- Next Thread: Drop down list with images.


Linear Mode