A recent project encountered a problem
layer.open components using the popup, pop-layer decimated the city needs a separate public page and therefore need access to relevant variable or function value the popup page in the Home page. Measures under
First look layer.open function
Layers URL corresponding to the key code of the page look pop
to form into JS sequence function object is a package JS their function, will not elaborate here, may be to manually define a JS objects, their attributes added to the object
The last view is called home page
The callback function receives the print variables can be seen, the pop-up data acquired user operation layer.
Finally, the key point is that in fact acquired ifream variables or functions specified in this method
$ (layero) .find ( "iframe")  .contentWindow.formData ();
This layer.open component gets more layer variables pop-up page, is the instance of the function Xiaobian share the entire contents of everyone, and I hope to give you a reference, I hope you will support Tumi cloud.