Load page source into div
Hi. I am trying to figure out how I can grab the source code of a specfic URL and pop it into a div.
I have successfully managed to get the current pages source by using:
- var source = $('HTML').html();
$('#test').text(source);
I did think I could use .load() but have not been able to find a solution.
Can anyone show me how this can achieved?