Test page code: Copy code The code is as follows: < ;head> jquery method, access the iframe page dom element <br>function getIframeDom(){ <br>// Get the test element of iframe <br>var test = $("#frame_1").contents().find("#test"); <br>alert(test.html()) <br>} <br> Get iframe page test element content< /a>