is there way send generated html code of own web page using javascript. example, @ button click event, current html code of page sent server. how this?
using jquery, should you:
$("html").html()
and if need html tags:
function getpagehtml() { return "<html>" + $("html").html() + "</html>"; }
even:
$('html')[0].outerhtml
Comments
Post a Comment