<script><br>
//Expose an interface to the outside world and name it test<br>
Cross.on("test", function(data){<br>
alert(data.t);<br>
});<br>
</script>
The above is the iframe cross-domain solution described in this article. I hope you will like it.
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