Does anyone know how to control objects outside an IFRAME ( in the parent window )
Here I have 2 pages
The first page : 1.php
Expand|Select|Wrap|Line Numbers
- <body>
- <input type="text" id="mytext" />
- <iframe width="200" height="200" src="2.php"></iframe>
- </body>
Expand|Select|Wrap|Line Numbers
- <body>
- <input type="submit" id="submit" onclick="window.getElementById('mytext').value='Dynamic text'"/>
- </body>