Created
September 4, 2013 12:10
-
-
Save jbspeakr/6436104 to your computer and use it in GitHub Desktop.
YUI Howto: Work with iFrames.
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
YUI().use("node", function (Y) { | |
'use strict'; | |
var iframeId = "#masterDataFrame"; | |
var frame = Y.one(iframeId); | |
var win = Y.Node.getDOMNode(frame.get('contentWindow')); | |
var doc = win.document; | |
YUI({ win: win, doc: doc }).use('node', function (innerY) { | |
// Do it... | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment