Skip to content

Instantly share code, notes, and snippets.

@markyun
Created July 24, 2013 09:10
Show Gist options
  • Save markyun/6069099 to your computer and use it in GitHub Desktop.
Save markyun/6069099 to your computer and use it in GitHub Desktop.
用js取弹出的iframe的页面下的input的值 怎么取
网上找的,极力推崇!在父页面加个隐藏域: <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