Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

link rel="alternate"

Status
Not open for further replies.

livezone

MIS
Jan 17, 2003
81
CA
Hi,

Will this linked page will execute any javascript code while printing?

<link rel="alternate" media="print" href="PrintPage.aspx">

e.g
PrintPage.aspx
==============
<body onload="setMargins();">

Thanks
Shafiq




 
you could try it and find out

e.g.
Code:
PrintPage.aspx
==============
<body>
 <script type="text/javascript">
 document.write("see if i print");
 </script>
</body>

-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
i like your sleeves...they're real big
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top