Created
July 23, 2013 09:13
-
-
Save WenLiangTseng/6061060 to your computer and use it in GitHub Desktop.
jQuery 取得在 iframe 裡面的 DOM 元素
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
jQuery("#myiframe").contents().find("#myContent"); | |
//重點在於加上 contents(),便能搜尋然後抓出 iframe 裡面的內容 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment