/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <head> <title>MySite</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script> function volcarContenido(){ contenido = opener.document.getElementById('impresion').innerHTML; contenido = contenido.replace(/<a([^>]+)>|<\/a>/gi,"") document.write(contenido); } </script> </head> <body > <script>volcarContenido()</script> </body> </html>