HTML Get Form

T

Tim Burkart

I don't know where to post this question (here or an HTML forum). I have an
HTML form field on a plain HTML page -
<Form method="GET"
action="http://www.someothersite.com/ProductSearch/LinkInQS.aspx">
<input type="hidden" name="ID" value="E8352CCC-DE22-4DC8-829E-69E5BC071195">
<input type="text" name="keyword" size="16" maxlength="500">
<input type="submit" value="Search"></Form>

Because the normal search results display with the someothersite.com URL I
want to put the results page in a frame/iframe on another page. Can I do the
following?

Change the form to GET/POST to the target page with a frame/iframe defined -

<Form action="search.aspx?qid=key" method="POST">
<input type="hidden" name="ID" value="E8352CCC-DE22-4DC8-829E-69E5BC071195">
<table border="1" width="100%">
<tr><td align="center"><input type="text" name="keyword" size="30"
maxlength="500">
<br>
<input name="Submit" type="image" id="Submit"
src="/zoom/images/GO.gif"></td></tr>
</table>
</form>

and then somehow extract the form variables ID and keyword, pass them to the
original link for processing and finally return the results to my search
results page.

Thank you!!

Tim
 
R

rowe_newsgroups

I don't know where to post this question (here or an HTML forum). I have an
HTML form field on a plain HTML page -
<Form method="GET"
action="http://www.someothersite.com/ProductSearch/LinkInQS.aspx">
<input type="hidden" name="ID" value="E8352CCC-DE22-4DC8-829E-69E5BC071195">
<input type="text" name="keyword" size="16" maxlength="500">
<input type="submit" value="Search"></Form>

Because the normal search results display with the someothersite.com URL I
want to put the results page in a frame/iframe on another page. Can I do the
following?

Change the form to GET/POST to the target page with a frame/iframe defined -

<Form action="search.aspx?qid=key" method="POST">
<input type="hidden" name="ID" value="E8352CCC-DE22-4DC8-829E-69E5BC071195">
<table border="1" width="100%">
<tr><td align="center"><input type="text" name="keyword" size="30"
maxlength="500">
<br>
<input name="Submit" type="image" id="Submit"
src="/zoom/images/GO.gif"></td></tr>
</table>
</form>

and then somehow extract the form variables ID and keyword, pass them to the
original link for processing and finally return the results to my search
results page.

Thank you!!

Tim

You might be better going to an Html forum or reposting the
microsoft.public.dotnet.framework.aspnet newsgroup. Most server-side
code questions can be answered here, but you'll have better luck with
the html on one of the other forums.

Thanks,

Seth Rowe
 

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

Top