chialh00
06-13-2003, 02:02 PM
Hi, I am having problem printing the popup menu, please see attached code.
Thanks and appreciate your help.
<SCRIPT LANGUAGE="JavaScript">
function openpopup(){
text = "<html>\n<head>\n<title>Please Note</title>\n<body>\n";
//text += "<center>\n<br>";
text += "Please note the following information as you will need it to complete the requested forms.\n<br><br>";
text += "<b>Your Number is: ></b>\n<br>";
winpops=window.open("","","width=400,height=338,menubar");
winpops.document.write('<form>'+ '<input type=button name=print value="Print"'+ 'onClick="window.print()"> this page!</form>');
winpops.document.write(text);
}
</script>
</head>
Thanks and appreciate your help.
<SCRIPT LANGUAGE="JavaScript">
function openpopup(){
text = "<html>\n<head>\n<title>Please Note</title>\n<body>\n";
//text += "<center>\n<br>";
text += "Please note the following information as you will need it to complete the requested forms.\n<br><br>";
text += "<b>Your Number is: ></b>\n<br>";
winpops=window.open("","","width=400,height=338,menubar");
winpops.document.write('<form>'+ '<input type=button name=print value="Print"'+ 'onClick="window.print()"> this page!</form>');
winpops.document.write(text);
}
</script>
</head>