I want the source code of an HTML page (1.html) to be used in another page (2.html). Furthermore, I want to perform operations on it in 2.html
1.html
2.html
Use can use .html method alternatively to get the entire html data of the page.
$(function(){ var a = ($('html').html()) })