Change to content of IFRAME. Inject script into IFRAME from another IFRAME
问题 I am working on a script to get and change the content of an IFrame, by accessing a variable and a function defined in it, through a button and a Javascript script created in another IFrame. The script works fine, but what I would like to do is instead of text been injected in the IFRAME 1 I would like to inject a script, something like: <script src="map.js" type="text/javascript"></script> I have tried with injecting IMG and also works: <button onclick="f_ifr2('<img height=\'410\' src=\