JQuery gets the method of the iframe's document object


The purpose of getting the iframe’s document object is to manipulate the dom

$(function() {
var result = $('#myframe').prop('contentWindow').document;
console.log(result);
});