Guys,
Let me set the scene. I have a forms page which has a rather comprehensive JavaScript function in the <HEAD></HEAD> section. When the user selects options from various drop down lists and click a button a Javascript function is called which uses the form input and local arrays to generate the HTML code for another page and uses document.write to ouput this page to the browser. Part of this HTML is a print button which the user can click to print out the page. However, when I click on the print button, it prints the original form page and not the page that I have just outputted using document.write.
Any suggestions as to how I can resolve this problem? Mise Le Meas,
Mighty
Let me set the scene. I have a forms page which has a rather comprehensive JavaScript function in the <HEAD></HEAD> section. When the user selects options from various drop down lists and click a button a Javascript function is called which uses the form input and local arrays to generate the HTML code for another page and uses document.write to ouput this page to the browser. Part of this HTML is a print button which the user can click to print out the page. However, when I click on the print button, it prints the original form page and not the page that I have just outputted using document.write.
Any suggestions as to how I can resolve this problem? Mise Le Meas,
Mighty