Код: Выделить всё
document.documentElement.outerHTML
Код: Выделить всё
$.ajax({
async: true,
type: 'GET',
cache: false,
url: window.location.href,
success: function(data) {
alert(data);
}
});
Можно ли прочитать ТЕКУЩИЙ источник страницы?
Подробнее здесь: https://stackoverflow.com/questions/139 ... ent-source
Мобильная версия