Many times when we use iframes, we will do paging operations. The url jump inside the iframe cannot be obtained directly through the src attribute of the iframe.
How to get the current url of the iframe
parent.document.getElementById("content_info").contentWindow.location.href
Where: content_info is the id of the iframe
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn