如何innerHTML
使用 JavaScript 从另一个网页获取元素?
例子:
<script>
$.get(url, function(response) {
var $response = $(response); // Code not working from this line
alert($response.find('.result').html()); // get innhtml of element by class name from response
});
</script>