Created
July 24, 2013 09:10
-
-
Save markyun/6069099 to your computer and use it in GitHub Desktop.
用js取弹出的iframe的页面下的input的值 怎么取
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
网上找的,极力推崇!在父页面加个隐藏域: <input type="hidden" id="lly" /> upload.jsp使用JS: <script type="text/javascript"> parent.document.getElementById("lly").value="你要传的值"; </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment