S
SysAdmin07
Hi,
I'm attempting to create a webpage with a search function. It consists
of 3 frames (one for the search box, one for the results, and one to
maintain a list of the last few searches). I'm currently having
problems passing the search terms to a different frame so that someone
can see their last few searches. If anyone has any ideas, I'd
appreciate them.
Here is what I have so far. Basically, in this snippet of code, I have
the results from the search outputting to "results2.cfm," which is in
a frame called "mapFrame." As stated, I'd like to get the search
terms, not results, to be outputted to another frame called
"resultFrame.cfm" Firstly, I am unsure how to pass the "Search" value
to "resultsFrame.cfm" and secondly, how should I display it (e.g.
should I use a textbox or is there a better method)?
Thanks.
I'm attempting to create a webpage with a search function. It consists
of 3 frames (one for the search box, one for the results, and one to
maintain a list of the last few searches). I'm currently having
problems passing the search terms to a different frame so that someone
can see their last few searches. If anyone has any ideas, I'd
appreciate them.
Here is what I have so far. Basically, in this snippet of code, I have
the results from the search outputting to "results2.cfm," which is in
a frame called "mapFrame." As stated, I'd like to get the search
terms, not results, to be outputted to another frame called
"resultFrame.cfm" Firstly, I am unsure how to pass the "Search" value
to "resultsFrame.cfm" and secondly, how should I display it (e.g.
should I use a textbox or is there a better method)?
Thanks.
Code:
<body>
<form TARGET="mapFrame" METHOD="POST" ACTION="results2.cfm">
<table width="266" cellpadding="1" cellspacing="3">
<tr><td colspan="3"><span class="style1 style1">Enter city
(without the state) or zip code </span></td>
[QUOTE]
</td>[/QUOTE]
<td width="56"><input name="submit" type="submit"
value="Search" /></td>
<td width="40"><input name="RESET" type="RESET"
value="Reset" /></td>
</table>
</form>
</body>