I have a div in my page layout that I would like to print. I have worked through some sample code on how to do this and come up with the following:
Couldn't you just do:
function PrintElem(elem) { Popup($(elem).html()); }
Reference: http://api.jquery.com/html/