blackwater dev wrote:
On 5/11/06, *John Hicks* <johnlist@xxxxxxxxxxxxxx
<mailto:johnlist@xxxxxxxxxxxxxx>> wrote:
blackwater dev wrote:
> would like
> to put the search form somewhere else on their site (it is
currenly all on
> my page within the iframe) and then call their search page to do the
> search,
(This is an html/DOM thing, not PHP.)
That's what the 'target' property of the <form> tag does: the response
from the request from that form is directed to a different window (or to
a different frame within the current frameset). You give the receiving
window a name (when you create it) and refer to that name in the target
argument.
--John
> Sorry John,
>
> I thought this might not be a php issue so I'll do more research on
it now.
>
> So I gave my iFrame a name:
>
> <IFRAME name="mysite" align="middle" marginWidth="0" marginHeight="0"
> frameBorder="0" src=" http://www.mysite.com" width="100%"
> height="9000"></IFRAME>
>
> Then on the parent page have a form:
>
> <form name="search" method="get" action=" parent.htm" target="mysite">
> <input type="hidden" name="aid" value="6">
> <input type="submit">
> </form>
>
> Can I really specify another target other than _parent, _self, etc?
No, it was a joke. I was kidding.
Maybe you will believe the FM:
http://www.w3.org/TR/html4/present/frames.html#adef-target
Remember to post your replies to the list!!
--J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php