Home > Article > Web Front-end > Get the tag attribute of iframe_html/css_WEB-ITnose
If the src of an iframe is an a.jsp, I now want to obtain the attributes of the iframe, such as width, height, etc., in this a.jsp. Please tell me how to write this.
$(window).width()
$(window).height()
I found the method myself window.frameElement.height