The purpose of getting the iframe’s document object is to manipulate the dom
$(function() {
var result = $('#myframe').prop('contentWindow').document;
console.log(result);
}); The purpose of getting the iframe’s document object is to manipulate the dom
$(function() {
var result = $('#myframe').prop('contentWindow').document;
console.log(result);
});