-
-
Save triptych/710310 to your computer and use it in GitHub Desktop.
This file contains 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
//<iframe id="frame"> | |
var frame = Y.Node.getDOMNode(Y.one('#frame')); | |
YUI({ | |
win: frame.contentWindow, | |
doc: frame.contentWindow.document | |
}).use('node', function(Frame) { | |
//An element inside the frame | |
var foo = Frame.one('#foo'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment