[cc lang=”javascript”]
function newWin() {
ven = window.open(”, ‘_blank’);
var results = document.documentElement.innerHTML;
var match = “<"; var re = new RegExp("<", "g"); var newresults = results.replace(re, "<"); ven.document.write(newresults); } [/cc] From: http://weblogs.asp.net/mspedding/archive/2003/10/10/31462.aspx
Leave a Reply