
October 23rd, 2003, 08:02 AM
|
|
Junior Member
|
|
Join Date: Oct 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
URL should not come in the print
I have a appl,which needs a printing option.Every thing is working fine,I am poping up a new Browser when the button in my page is clicked, and adding tha data from my page to that browser as
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(OLECMDID,PROMPT);
WebBrowser1.outerHTML = "";
And now when the content in the IE is getting printed by clicking the button(in the system in which my appl is running)I dont want the URL of my page to come in the printed document
Thanks.
manu
|