2 Submit buttons 1 field

ussvoyager74656

Baseband Member
Messages
58
Okay, I am trying to put these two different search engines on my web page. Google and Ebay. But I want to use one field instead of two and use one button for eBay and one button for google. Here is the code of Ebay and Google. Any ideas?

<!-- Search Google -->
<center>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top><td>
<A HREF=http://www.google.com/search>
<IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google align=middle></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=sa VALUE="Google Search">
<INPUT type=hidden name=cof VALUE="AH:center;AWFID:f80bcbf53985fcf2;">

</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->


<form action="http://search.ebay.com/search/search.dll" method="GET">
<width="40%" align=center valign=top rowspan=2>
<table width="50%" border="0" cellspacing="0" cellpadding="0" align="CENTER" nowrap>
<tr nowrap>
<td class="small_font" nowrap>
<input TYPE=hidden NAME=MfcISAPICommand VALUE=GetResult>
<input type=text name=query size=16 maxlength=100 value="">
<input TYPE="SUBMIT" VALUE="eBay Search">
<input type=hidden name=categoryid value="">
<input type=hidden name=ht value=1>
<input type=hidden name=st value=2>
<BR>
 
Back
Top Bottom