| <script type="text/javascript"
language="JavaScript"><!--
| if(window.print) {
| document.write('<a href="javascript:window.print()">[click to
print]</a>');
| }
| //--></script>
|
I found this code from here:
http://willmaster.com/blog/javascript/Four_Ways_To_Print_a_Web_Page.html
How to pass the formatted list to the "document" in the code above? And how do I
use this javascript fragment in my .xhtml file? (I mean, how to bind this script to a
button? ) Many thanks!
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067950#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...