Created
May 8, 2012 15:07
-
-
Save reedobrien/2636056 to your computer and use it in GitHub Desktop.
get an element within an iframe
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
<!-- | |
name the frame name="myframe" | |
then you can reach into the frame like so (using jQuery) | |
--> | |
$(frames['myframe'].document).find('.someClass').attr('style', 'display: none') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment