PDA

View Full Version : Show submit from one IFRAME in another



oliveirard
08-01-2006, 09:16 PM
Hello guys! Please, help me with this one: I have one page with two iframes. On the first there is a form with a text input and a submit button. The second should present the result (content returned by the server after the form is submitted). How can I present the search submitted by the first iframe on the second? I tried the target attribute but it didn't work because the second iframe isn't "inside" the first. See the example:


<html>
<body>
<iframe name="if1" width="220" height="300" src="http://www.google.com" target="if2"></iframe>
<iframe name="if2" width="220" height="300"></iframe>
</body>
</html>