danblack30
MIS
Hi all,
I'm doing yet another "printer friendly" page. Instead of making it dynamic I would prefer to have a link that posts hidden form data to a popup window. And also a printer Icon in that window that inititates the print. I've gotten the popup to work and the form data to post, but not at the same time.
Here's my buggered code...
<form ACTION="cerfformprint.asp" METHOD="POST" name="form4" id="form4">
<input type="hidden" name="Budget_Number" value="test1">
<input type="hidden" name="Reason_for_Request" value="test2">
<input type="hidden" name="cort_comm" value="test3">
</form>
<a href="#" onclick=" window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars,resizable'); document.form4.submit(); return false; ">Printer Friendly</a>
Thanks in advance,
Dan
I'm doing yet another "printer friendly" page. Instead of making it dynamic I would prefer to have a link that posts hidden form data to a popup window. And also a printer Icon in that window that inititates the print. I've gotten the popup to work and the form data to post, but not at the same time.
Here's my buggered code...
<form ACTION="cerfformprint.asp" METHOD="POST" name="form4" id="form4">
<input type="hidden" name="Budget_Number" value="test1">
<input type="hidden" name="Reason_for_Request" value="test2">
<input type="hidden" name="cort_comm" value="test3">
</form>
<a href="#" onclick=" window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars,resizable'); document.form4.submit(); return false; ">Printer Friendly</a>
Thanks in advance,
Dan