ファイルのコンテンツを取得するために単純な ajax リクエストを実行しているだけですが、実際の<body>
ものを取得しようとすると、常に何も返されません。
jQuery.ajax(location).done(function(response) {
// RETURNS []
console.log(jQuery(response).find('body'));
// <body class="html ...">
// RETURNS []
console.log(jQuery(response).find('.html'));
// When I try to get any other div it just works
// RETURNS THE DIV
console.log(jQuery(response).find('#header'));
})