Pass Search Terms from One Frame to Another

S

SysAdmin07

Hi, Everyone,

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.

Thanks.
 
D

dorayme

"SysAdmin07 said:
Hi, Everyone,

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.

Thanks.

Why don't you put up your best shot in a url?
 
S

SysAdmin07

Why don't you put up your best shot in a url?

Okay, here goes:

The code below is a chunk from my search page.

//Code Begin
<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>
<tr>
<td width="154"><input type="TEXT" name=area size="25" /></
td>
<td width="56"><input name="submit" type="submit"
value="Search" /></td>
<td width="40"><input name="RESET" type="RESET"
value="Reset" /></td>
</table>
</form>
//Code End

As you can see here, I am outputting the search results to
"results2.cfm," which is in a frame called "mapFrame." However, I
have another frame that I'd like to list the search terms typed in
from the search box above. It's called resultsFrame.cfm and
currently, it's just skeleton code, as I have yet to figure out how to
do this.

Thanks in advance for any help.
 
J

John Hosking

The code below is a chunk from my search page.

No, a url is the thing with http: at the beginning. ;-)
//Code Begin
<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>

Missing a said:
<tr>
<td width="154"><input type="TEXT" name=area size="25" /></
td>

Hmm, interesting break. More interesting is the unquoted "area". If you
add quotes, does your life get better?
 
S

SysAdmin07

Hi, Everyone,

This is an internal site and I'd rather not post it in a URL for plain
view. Any helpful comments are appreciated.

Thanks again.
 
J

Jukka K. Korpela

Scripsit SysAdmin07:
Hi, Everyone,

Everyone just plonked you.
This is an internal site and I'd rather not post it in a URL for plain
view. Any helpful comments are appreciated.

I have an internal solution and I'd rather not post it in public for plain
view.
Thanks again.

You're welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top