DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   Print.Window + file.aspx (http://www.daniweb.com/forums/thread120837.html)

WebSultan Apr 24th, 2008 3:32 pm
Print.Window + file.aspx
 
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



<script language="JavaScript" type="text/javascript">

<!--

function printPage() {
  if (window.print)
    window.print()
  else
    alert("Sorry, your browser doesn't support this feature.");
}

// -->
          </script>


All times are GMT -4. The time now is 7:35 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC