This may sound ridiculous but I will try to describe it as best I can. I have my search box on a page......search.asp
As it is now it opens up search.asp w/ no formatting when I submit, works fine.
What I would like it to do is open up a different page called search5.asp (in the same window) and then load the 'search.asp' page into the iframe named "searchframe".
When I try this code:
it opens 'search.asp' with the proper query
Also when I switch the action with the target it opens 'search5.asp' with the query.
It seems that no matter what I put into the target function it just opens whatever is in 'action' in a new window
Code:
<form method="get" action="search.asp"> <input type="text" name="zoom_query" size="20" /> <input type="hidden" name="zoom_per_page" value="25"> <input type="submit" value="Search" />
What I would like it to do is open up a different page called search5.asp (in the same window) and then load the 'search.asp' page into the iframe named "searchframe".
When I try this code:
Code:
<form method="get" action="search.asp" target="search5.asp">
Also when I switch the action with the target it opens 'search5.asp' with the query.
It seems that no matter what I put into the target function it just opens whatever is in 'action' in a new window
Comment